Improve session detection in install module

- 세션 작동여부 확인과 session.auto_start 확인을 하나로 합침.
- 세션에 기록된 플래그와 license_agreement 파일에 기록된 시간을 비교하도록 하여
  예전에 기록된 플래그를 잘못 인식하지 않도록 함.
This commit is contained in:
Kijin Sung 2019-07-27 20:21:05 +09:00
parent 0d2fde9da0
commit b5720557e8
11 changed files with 25 additions and 46 deletions

View file

@ -25,14 +25,12 @@ $lang->install_checklist_title['json'] = 'json';
$lang->install_checklist_title['gd'] = 'gd';
$lang->install_checklist_title['mcrypt'] = 'mcrypt / openssl';
$lang->install_checklist_title['session'] = 'session';
$lang->install_checklist_title['session_auto'] = 'session.auto_start setting';
$lang->install_checklist_title['db_support'] = 'DB support';
$lang->install_checklist_desc['php_version'] = '[Required] Rhymix supports only PHP Version %s or higher';
$lang->install_checklist_desc['php_version_warning'] = '[Recommend] Rhymix recommends only PHP Version %s or higher';
$lang->install_checklist_desc['permission'] = '[Required] Please create a \'files\' directory under the installation path and change its permissions to 777.';
$lang->install_checklist_desc['xml'] = '[Required] XML Library is needed for XML communication';
$lang->install_checklist_desc['session'] = '[Required] PHP Session must be available';
$lang->install_checklist_desc['session_auto'] = '[Required] PHP setting file\'s (php.ini) \'Session.auto_start\' must equal to zero in order for Rhymix to use the session';
$lang->install_checklist_desc['session'] = '[Required] PHP Session must be available, and \'session.auto_start\' must be off in order to use the session.';
$lang->install_checklist_desc['iconv'] = 'Iconv should be installed in order to convert between UTF-8 and other language sets';
$lang->install_checklist_desc['gd'] = 'GD Library should be installed in order to use functions to convert images';
$lang->install_checklist_xml = 'Install XML Library';