PHP8에서 session.auto_start 체크가 안되는 경우

#1667 이슈 관련
This commit is contained in:
Kangjun Heo == P.Knowledge 2021-03-28 20:36:23 +09:00 committed by GitHub
parent be1fbc9d65
commit 19e7f6b3e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -320,7 +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'])))
{
if(ini_get('session.auto_start') == 0)
$sess_autostart = ini_get('session.auto_start');
if($sess_autostart === 0 || $sess_autostart === "")
{
$checklist['session'] = true;
}