diff --git a/index.php b/index.php index 5fe1d480c..7d53674b1 100644 --- a/index.php +++ b/index.php @@ -83,7 +83,7 @@ if(true) { /* Catch all route */ $app->get('/{path:.*}', function($request, $response) { return $response - ->withHeader('Location', '/out/out.ViewFolder.php') + ->withHeader('Location', $settings->_httpRoot.'out/out.ViewFolder.php') ->withStatus(302); });