diff options
author | Andreas Gohr <andi@splitbrain.org> | 2009-11-03 19:06:25 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2009-11-03 19:06:25 +0100 |
commit | 1f8eb24f4e8a49f1d2205b797b0ab46b82105b5f (patch) | |
tree | d551e6eba440f2d873fd86dcdd8d388d58cc8487 | |
parent | 8bbcb611aa2b803e03a4d367d0d63d0829c124c2 (diff) | |
download | rpg-1f8eb24f4e8a49f1d2205b797b0ab46b82105b5f.tar.gz rpg-1f8eb24f4e8a49f1d2205b797b0ab46b82105b5f.tar.bz2 |
Supress timezone warnings in PHP 5.3.0
Ignore-this: 3686859078d4a5e4af166eaec089268b
darcs-hash:20091103180625-7ad00-36d8e781f9a25095cf5efaad5efb16a6b8f95b1e.gz
-rw-r--r-- | inc/init.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/inc/init.php b/inc/init.php index 58fa3e25b..32a3d46a9 100644 --- a/inc/init.php +++ b/inc/init.php @@ -134,6 +134,9 @@ foreach (array('default','local') as $config_group) { } } +// set timezone (as in pre 5.3.0 days) +date_default_timezone_set(@date_default_timezone_get()); + // define baseURL if(!defined('DOKU_REL')) define('DOKU_REL',getBaseURL(false)); if(!defined('DOKU_URL')) define('DOKU_URL',getBaseURL(true)); |