From: cajus Date: Thu, 20 Sep 2007 12:21:04 +0000 (+0000) Subject: Moved default timezone setting X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a5e57c8c1caa3642ebed78e78bab79417d31046c;p=gosa.git Moved default timezone setting git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7355 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/include/php_setup.inc b/include/php_setup.inc index 98f8db709..94ead09be 100644 --- a/include/php_setup.inc +++ b/include/php_setup.inc @@ -215,6 +215,9 @@ function dummy_error_handler() } +/* Set timezone */ +date_default_timezone_set("GMT"); + /* Get base dir for reference */ $BASE_DIR= dirname(dirname(__FILE__)); $ROOT_DIR= $BASE_DIR."/html"; @@ -239,8 +242,5 @@ $smarty->template_dir = $BASE_DIR.'/ihtml/'; $smarty->caching= false; $smarty->php_handling= SMARTY_PHP_REMOVE; -/* Set timezone */ -date_default_timezone_set("GMT"); - // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: ?>