From 92f7db328cc05c8272cb694f79c4f60219a01351 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 20 Sep 2007 09:42:10 +0000 Subject: [PATCH] removed debug output git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7347 594d385d-05f5-0310-b6e9-bd551577e9d8 --- html/main.php | 2 +- include/php_setup.inc | 12 +----------- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/html/main.php b/html/main.php index b48ad9213..3eb9acca9 100644 --- a/html/main.php +++ b/html/main.php @@ -74,7 +74,7 @@ if ($_SERVER['REMOTE_ADDR'] != $ui->ip){ exit; } $config= $_SESSION['config']; -get_default_timezone(); + /* Check for invalid sessions */ if(empty($_SESSION['_LAST_PAGE_REQUEST'])){ diff --git a/include/php_setup.inc b/include/php_setup.inc index b06a46c57..b3f839dca 100644 --- a/include/php_setup.inc +++ b/include/php_setup.inc @@ -66,16 +66,6 @@ function gosaRaiseError($errno, $errstr, $errfile, $errline) } } - /* Hide timezone warnings, gosa */ - if(preg_match("/date.timezone/",$errstr)){ - - $tmp= get_default_timezone(); - echo $tmp['name']; - echo $errfile; - echo "
"; - return; - } - /* Create header as needed */ if ($error_collector == ""){ @@ -260,7 +250,7 @@ $smarty->php_handling= SMARTY_PHP_REMOVE; /* Set timezone */ if (function_exists("date_default_timezone_set")){ -# date_default_timezone_set("GMT"); + date_default_timezone_set("GMT"); } // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: -- 2.30.2