From a17c0f160bd939c824c15938f516f28537313c96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steffen=20Schro=CC=88der?= Date: Thu, 10 Jul 2014 19:22:07 +0200 Subject: [PATCH] strip base dir on exception reports --- application/core/ErrorHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/core/ErrorHandler.php b/application/core/ErrorHandler.php index 58f46bc7..308b977d 100644 --- a/application/core/ErrorHandler.php +++ b/application/core/ErrorHandler.php @@ -433,7 +433,7 @@ class ErrorHandler { $report['Type'] = 'Exception'; $report['Message'] = $message; $report['Class'] = $exceptionClass; - $report['FileLine'] = $exception->getFile() . ': ' . $exception->getLine(); + $report['FileLine'] = $this->stripBaseDir($exception->getFile()) . ': ' . $exception->getLine(); $report['SourceClass'] = $sourceClass; $report['PluginId'] = PluginManager::getPluginId($sourceClass); $report['Backtrace'] = $traceString;