From: cajus Date: Thu, 12 Jan 2006 14:46:01 +0000 (+0000) Subject: Added fixed for PHP 5.1.x that claims about problems with date functions X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a8562370846acd386d879836cf100c81fdad2c59;p=gosa.git 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 --- 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: ?>