fix enrollment logic, add financial aid, fix class distribution
Tests / PHPUnit (push) Failing after 1m6s
Tests / PHPUnit (push) Failing after 1m6s
This commit is contained in:
@@ -32,7 +32,7 @@ class Session extends BaseConfig
|
||||
*/
|
||||
public string $cookieName = 'ci_session';
|
||||
public string $cookieDomain = ''; // Leave blank for localhost
|
||||
public bool $cookieSecure = false; // Set to false if not using HTTPS
|
||||
public bool $cookieSecure = false; // Forced on in production via constructor
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
@@ -101,4 +101,12 @@ class Session extends BaseConfig
|
||||
* DB Group for the database session.
|
||||
*/
|
||||
public ?string $DBGroup = null;
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
$isProduction = ENVIRONMENT === 'production';
|
||||
$this->cookieSecure = $isProduction;
|
||||
$this->cookieName = $isProduction ? '__Host-ci_session' : 'ci_session';
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user