From: cajus Date: Mon, 26 Nov 2007 08:01:20 +0000 (+0000) Subject: Modified raise error function to display even if there's no get_template_path() avail... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3aec0e7e652c633d3a61a0d78419c8ebead5ff9e;p=gosa.git Modified raise error function to display even if there's no get_template_path() available yet. git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7883 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/include/php_setup.inc b/include/php_setup.inc index b3f839dca..3ad89e47e 100644 --- a/include/php_setup.inc +++ b/include/php_setup.inc @@ -101,8 +101,11 @@ function gosaRaiseError($errno, $errstr, $errfile, $errline) $error_collector= " -
- \"\"  + "; + if (function_exists("get_template_path")){ + $error_collector.= "\"\" "; + } + $error_collector.= " ". _("Generating this page caused the PHP interpreter to raise some errors!")."