From 3aec0e7e652c633d3a61a0d78419c8ebead5ff9e Mon Sep 17 00:00:00 2001 From: cajus Date: Mon, 26 Nov 2007 08:01:20 +0000 Subject: [PATCH] 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 --- include/php_setup.inc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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!")." -- 2.30.2