2012-02-27 50 views
0
A PHP Error was encountered 

Severity: Warning 

Message: date() [function.date]: It is not safe to rely on the system's timezone 
settings. You are *required* to use the date.timezone setting 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 'Europe/Berlin' for 'CET/1.0/no DST' instead 

Filename: libraries/Email.php 

Line Number: 704 
Line Number 709 

嘗試使用笨電子郵件庫我得到這個error.I發送電子郵件發送郵件想我應該指定date_default_timezone_set,但我不知道我在哪裏有,因爲我不指定它當我發送郵件時使用日期。日期錯誤使用笨

+3

我在一分鐘前回答了你,爲什麼要爲同樣的問題開一個新的問題?按照書面編輯你的php.ini文件,它會解決你所有的錯誤。 – 2012-02-27 15:41:06

回答

3

無論是在你的php.ini文件中設置date.timezone,或者如果這是不可能的,使用方法:

中CodeIgniter的index.php文件。