From a8af711f111e2197d3ee827418f93755d2e16ea7 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sat, 27 Aug 2011 08:48:27 +0000 Subject: [PATCH] add backtrace to failed includes, to see where it comes from --- phpgwapi/inc/class.egw_include_mgr.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.egw_include_mgr.inc.php b/phpgwapi/inc/class.egw_include_mgr.inc.php index 67bbc6eebb..520f2e59e8 100644 --- a/phpgwapi/inc/class.egw_include_mgr.inc.php +++ b/phpgwapi/inc/class.egw_include_mgr.inc.php @@ -297,7 +297,7 @@ class egw_include_mgr if (self::$DEBUG_MODE) // DEBUG_MODE is currently ALWAYS true. Comment this code out if you don't want error messages. { - error_log(__METHOD__."($package,$file,$app) $path NOT found".($this->debug_processing_file ? " while processing file '{$this->debug_processing_file}'." : "!")); + error_log(__METHOD__."($package,$file,$app) $path NOT found".($this->debug_processing_file ? " while processing file '{$this->debug_processing_file}'." : "!").' '.function_backtrace()); } return false;