moeSS icon indicating copy to clipboard operation
moeSS copied to clipboard

关于时区设定的问题

Open alanzchen opened this issue 9 years ago • 1 comments

A PHP Error was encountered

Severity: Runtime Notice

Message: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead

Filename: views/index_footer.php

Line Number: 42

Backtrace:

File: /var/www/moeSS/application/views/index_footer.php Line: 42 Function: date

File: /var/www/moeSS/application/views/site_index.php Line: 99 Function: view

File: /var/www/moeSS/application/controllers/SiteIndex.php Line: 45 Function: view

File: /var/www/moeSS/index.php Line: 292 Function: include

alanzchen avatar Mar 01 '15 03:03 alanzchen

moeSS 中 config目录下的config.php 里面有这段内容 $config['time_reference'] = ''; 和 php.ini 中date.timezone = 设置保持一致

Lonvoy avatar Nov 02 '15 08:11 Lonvoy