d7b6 warning about mktime()

I am using PHP 5.3, and even in index.php I see:

Warning: mktime() [function.mktime]: 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 'America/New_York' for 'EDT/-4.0/DST' instead

This is because mktime() is used with no arguments in:

inc/classes/BxDolTemplate.php on line 302

templates/base/scripts/BxBaseFunctions.php on line 156

The fix is to use time() instead of mktime()

Hope to see this change in the next beta :)

Robert

Quote · 16 Sep 2009
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.