View Single Post
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 01-31-2019 , 19:58   Re: [RELEASE] SourceBans++ (v1.6.3) [Updated: 2018-04-06]
#1344

Quote:
Originally Posted by AlinXD View Post
Any way to disable these warnings until my host fixes the issues?

Code:
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/alinfro/domains/alinf.ro/public_html/sourcebans/pages/page.home.php on line 48

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/alinfro/domains/alinf.ro/public_html/sourcebans/pages/page.home.php on line 48

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/alinfro/domains/alinf.ro/public_html/sourcebans/pages/page.home.php on line 90
Considering that it is "configuration", you could add the things as suggested to the "config.php" file of SB++?

Code:
define(foo);
define(bar);
[...]
date_default_timezone_set('Europe/London');
Follow the table on List of Supported Timezones to find the best matching time zone depending on your area, and adjust the setting above.
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].
DarkDeviL is offline