Use relative paths on debug error page
This commit is contained in:
parent
9a27e7764a
commit
f2be3a7e5b
3 changed files with 17 additions and 2 deletions
|
@ -285,7 +285,7 @@ class FrontController extends BaseController
|
|||
$response = $cspMiddleware->applyHeader($response);
|
||||
|
||||
if ($this->config->debug) {
|
||||
$renderer = new HtmlErrorRenderer(true);
|
||||
$renderer = new HtmlErrorRenderer(true, null, null, $this->container->get('root_path'));
|
||||
$exception = $renderer->render($error);
|
||||
|
||||
$response->getBody()->write($exception->getAsString());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue