mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
PHP8에서 session.auto_start 체크가 안되는 경우
intval로 변환하여 0이 나오도록한 뒤 0과 strict type check
This commit is contained in:
parent
19e7f6b3e8
commit
23b967647f
1 changed files with 2 additions and 2 deletions
|
|
@ -320,9 +320,9 @@ class installController extends install
|
|||
$license_agreement_time = intval(trim(FileHandler::readFile($this->flagLicenseAgreement)));
|
||||
if(isset($_SESSION['license_agreement']) && (!$license_agreement_time || ($license_agreement_time == $_SESSION['license_agreement'])))
|
||||
{
|
||||
$sess_autostart = ini_get('session.auto_start');
|
||||
$sess_autostart = intval(ini_get('session.auto_start'));
|
||||
|
||||
if($sess_autostart === 0 || $sess_autostart === "")
|
||||
if($sess_autostart === 0)
|
||||
{
|
||||
$checklist['session'] = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue