";
/* Extract traceback data - if available */
if (function_exists('debug_backtrace')){
$trace= debug_backtrace();
/* Generate trace history */
- for ($index= 1; $index
"._("Trace")."[$index]: $loc
";
$error_collector.= "
"._("File").": $file ("._('Line')." $line)
"._("Type").": $type
";
@@ -115,9 +141,6 @@ function gosaRaiseError($errno, $errstr, $errfile, $errline)
/* Close error table */
$error_collector.= "
";
- /* Write to syslog */
- gosa_log ("PHP error: $errstr ($errfile, line $errline)");
-
/* Flush in case of fatal errors */
if (preg_match('/^fatal/i', $errstr)){
echo $error_collector."";
@@ -155,5 +178,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:
?>