From a5e57c8c1caa3642ebed78e78bab79417d31046c Mon Sep 17 00:00:00 2001 From: cajus Date: Thu, 20 Sep 2007 12:21:04 +0000 Subject: [PATCH] Moved default timezone setting git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7355 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/php_setup.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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: ?> -- 2.30.2