From: cajus Date: Fri, 20 May 2005 13:10:58 +0000 (+0000) Subject: Added new translation X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=fdd85283f0ec357eb9b6abf7584f3628f477d807;p=gosa.git Added new translation git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@287 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/include/functions.inc b/include/functions.inc index 8323cbfe1..8f2868882 100644 --- a/include/functions.inc +++ b/include/functions.inc @@ -1513,8 +1513,6 @@ function gosaRaiseError($errno, $errstr, $errfile, $errline) { global $error_collector; - $svn_path = '$HeadURL$'; - /* FIXME: workaround for buggy imap_open */ if (preg_match('/imap_open/', $errstr)){ return; @@ -1525,12 +1523,11 @@ function gosaRaiseError($errno, $errstr, $errfile, $errline) return; } - - if (!preg_match('%/gosa/trunk/%', $svn_path)){ - gosa_log ("PHP error: $errstr ($errfile, line $errline)"); - return; + /* Create header as needed */ + if ($error_collector == ""){ + $error_collector= "

 "._("Generating this page caused the PHP interpreter to rise some errors!")."

["._("Send report")."] ["._("Toggle information")."]
"; } - + /* Extract traceback data */ $trace= debug_backtrace();