From a8562370846acd386d879836cf100c81fdad2c59 Mon Sep 17 00:00:00 2001 From: cajus Date: Thu, 12 Jan 2006 14:46:01 +0000 Subject: [PATCH] Added fixed for PHP 5.1.x that claims about problems with date functions git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2467 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/php_setup.inc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/php_setup.inc b/include/php_setup.inc index 3274152dc..93104ad28 100644 --- a/include/php_setup.inc +++ b/include/php_setup.inc @@ -164,5 +164,10 @@ $smarty->template_dir = $BASE_DIR.'/ihtml/'; $smarty->caching= false; $smarty->php_handling= SMARTY_PHP_REMOVE; +/* Set timezone */ +if (function_exists("date_default_timezone_set")){ + date_default_timezone_set("GMT"); +} + // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: ?> -- 2.30.2