wzxjohn / moeSS

moe SS Front End for https://github.com/mengskysama/shadowsocks/tree/manyuser
https://ss.qaq.moe
GNU General Public License v3.0
303 stars 107 forks source link

关于时区设定的问题 #42

Open alanzchen opened 9 years ago

alanzchen commented 9 years ago

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

Lonvoy commented 8 years ago

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