Changeset 1274
- Timestamp:
- 08/03/07 13:59:09 (5 years ago)
- Location:
- trunk/wifidog-auth
- Files:
-
- 2 modified
-
CHANGELOG (modified) (1 diff)
-
wifidog/include/init_php.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wifidog-auth/CHANGELOG
r1273 r1274 1 1 # $Id$ 2 2007-08-03 Damien Raude-Morvan <drazzib@drazzib.com> 3 * init_php.php : Fix #363 by applying patch from Leandro to correctly set timezone info in Wifidog 4 if set in configuration (allow Wifidog to work not only in Canada :). 5 2 6 2007-07-26 Benoit Grégoire <bock@step.polymtl.ca> 3 7 * DependenciesList::hook_menu(): Fix menu path conflict with Server::hook_menu(); -
trunk/wifidog-auth/wifidog/include/init_php.php
r1186 r1274 131 131 // Set timezone if PHP version >= 5.1.0 132 132 if (str_replace(".", "", phpversion()) >= 510) { 133 date_default_timezone_set(defined( DATE_TIMEZONE) ? DATE_TIMEZONE : "Canada/Eastern");133 date_default_timezone_set(defined('DATE_TIMEZONE') ? DATE_TIMEZONE : "Canada/Eastern"); 134 134 } 135 135 }
