diff --git a/api/src/loader/exception.php b/api/src/loader/exception.php index 1621e1c62b..ce97383361 100755 --- a/api/src/loader/exception.php +++ b/api/src/loader/exception.php @@ -127,7 +127,7 @@ function egw_exception_handler($e) $message = '
'.Api\Html::htmlspecialchars($e->getMessage().' ('.$e->getCode().')')."\n\n"; - echo $e->getFile().' ('.$e->getLine().")\n"; + echo str_replace(EGW_SERVER_ROOT.'/', '', $e->getFile()).' ('.$e->getLine().")\n"; // only show trace (incl. function arguments) if explicitly enabled, eg. on a development system if ($GLOBALS['egw_info']['server']['exception_show_trace'])