Warning timezone settings - Script users register, login

marred
Posts: 2

Warning timezone settings - Script users register, login

Code: Select all

Warning: 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/www/site/usrincls/class.Base.php on line 220


Admin! Please help!

Admin
Hello,
Add this code in the "config.php" file (in the "usrincls/" folder) and set timezone location you want:

Code: Select all

date_default_timezone_set('Europe/London');

marred
Thanks a lot. You are too kind. Keep up the good work.

Adv. Posts: 01

Similar Topics