]> git.mxchange.org Git - mailer.git/commitdiff
Re-added default timezone, let's pray it can be set later on
authorRoland Häder <roland@mxchange.org>
Mon, 23 Aug 2010 13:14:37 +0000 (13:14 +0000)
committerRoland Häder <roland@mxchange.org>
Mon, 23 Aug 2010 13:14:37 +0000 (13:14 +0000)
inc/config-global.php

index f3a26f6121c18c9719cb8acabb8e645c4a8e397b..f76a0271519b9725400f0b85823062e41134d0b5 100644 (file)
@@ -46,6 +46,12 @@ if (!defined('__SECURITY')) {
  *      PLEASE DO NOT EDIT THE COMMENTS! install.php NEEDS THEM!        *
  ************************************************************************/
 
+// Proper function exists?
+if (function_exists('date_default_timezone_set')) {
+       // Set default timezone to Europe/Berlin (because I'm from Germany)
+       @date_default_timezone_set('Europe/Berlin');
+} // END - if
+
 // CFG: ERROR_REPORTING
 error_reporting(E_ALL | E_STRICT);