X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fconfig-global.php;h=f76a0271519b9725400f0b85823062e41134d0b5;hb=b09f26917617231dde299c91fdbe448078e5f568;hp=2861f71424aa4eafc68b6d42779ed019ec100bc2;hpb=19b197c32c96ce8eea26561fb7b40e87c57716ae;p=mailer.git diff --git a/inc/config-global.php b/inc/config-global.php index 2861f71424..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); @@ -56,7 +62,7 @@ error_reporting(E_ALL | E_STRICT); $PATH = str_replace("\\", '/', substr(dirname(__FILE__), 0, -3)); // Some very important function includes -foreach (array('config','wrapper','inc','stats') as $inc) { +foreach (array('config','wrapper','template','module','inc','stats') as $inc) { include($PATH . 'inc/' . $inc . '-functions.php'); } // END - foreach @@ -91,8 +97,8 @@ setConfigEntry('COPY', 'Copyright © 2003 - 2009, by Roland Häder,