From: quix0r Date: Mon, 23 Aug 2010 13:14:37 +0000 (+0000) Subject: Re-added default timezone, let's pray it can be set later on X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=947adcf5f896dfc543c115a3dfeeb232d6c43fbf;p=mailer.git Re-added default timezone, let's pray it can be set later on --- diff --git a/inc/config-global.php b/inc/config-global.php index f3a26f6121..f76a027151 100644 --- a/inc/config-global.php +++ b/inc/config-global.php @@ -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);