Skip to content
This repository has been archived by the owner on Feb 25, 2024. It is now read-only.

Commit

Permalink
fixed BUG SUPPORT-2161 LiveVoting: Use of undefined constant IL_COOKI…
Browse files Browse the repository at this point in the history
…E_PATH (PHP7.2)
  • Loading branch information
mstuder committed Sep 2, 2019
1 parent 5caaca1 commit 289d2d9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Change Log

## [4.3.2]
- Fixed BUG SUPPORT-2161 Use of undefined constant IL_COOKIE_PATH (PHP7.2)"

## [4.3.1]
- Hotfix: Working enter pin gui again

Expand Down
2 changes: 1 addition & 1 deletion plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
require_once __DIR__ . "/vendor/srag/dic/src/PHPVersionChecker.php";

$id = 'xlvo';
$version = '4.3.1';
$version = '4.3.2';
$ilias_min_version = '5.3.0';
$ilias_max_version = '5.4.999';
$responsible = 'studer + raimann ag - Team Custom 1';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ private function bootstrapApp() {
//bootstrap ILIAS

$this->initDependencyInjection();
$this->setCookieParams();

$this->removeUnsafeCharacters();
$this->loadIniFile();
Expand Down Expand Up @@ -591,7 +592,8 @@ private function setCookieParams() {
$cookie_path = '/';
}

$cookie_secure = !$this->settings->get('https', 0) && ilHTTPS::getInstance()->isDetected();
/*$cookie_secure = !$this->settings->get('https', 0) && ilHTTPS::getInstance()->isDetected();*/
$cookie_secure = true;

define('IL_COOKIE_EXPIRE', 0);
define('IL_COOKIE_PATH', $cookie_path);
Expand Down

0 comments on commit 289d2d9

Please sign in to comment.