diff --git a/templates/system/error_general.phtml b/templates/system/error_general.phtml index 61940cd717..26ed34b0c7 100644 --- a/templates/system/error_general.phtml +++ b/templates/system/error_general.phtml @@ -1,17 +1,27 @@ layout('minimal', [ 'title' => 'Error', - 'page_class' => 'error-content' + 'page_class' => 'error-content', ]); + +$filePath = Symfony\Component\Filesystem\Path::makeRelative( + $exception->getFile(), + $environment->getBaseDirectory() +); ?>