summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 87381b3)
raw | patch | inline | side by side (parent: 87381b3)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 20 Sep 2007 09:42:10 +0000 (09:42 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 20 Sep 2007 09:42:10 +0000 (09:42 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7347 594d385d-05f5-0310-b6e9-bd551577e9d8
html/main.php | patch | blob | history | |
include/php_setup.inc | patch | blob | history |
diff --git a/html/main.php b/html/main.php
index b48ad92131d989ae32f7bf9e3385172fe944ccf5..3eb9acca9018e381244149093d967b2cfc044607 100644 (file)
--- a/html/main.php
+++ b/html/main.php
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 b06a46c5789255210b07dc7c8394db3a8940424b..b3f839dcaa4d9c5e33fb80483683bd74b5843f0e 100644 (file)
--- a/include/php_setup.inc
+++ b/include/php_setup.inc
}
}
- /* Hide timezone warnings, gosa */
- if(preg_match("/date.timezone/",$errstr)){
-
- $tmp= get_default_timezone();
- echo $tmp['name'];
- echo $errfile;
- echo "<br>";
- return;
- }
-
/* Create header as needed */
if ($error_collector == ""){
/* 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: