mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-12 04:31:32 +00:00
use httpRoot when redirecting to out.ViewFolder.php
This commit is contained in:
parent
54832e3727
commit
9d400a808e
|
@ -83,7 +83,7 @@ if(true) {
|
||||||
/* Catch all route */
|
/* Catch all route */
|
||||||
$app->get('/{path:.*}', function($request, $response) {
|
$app->get('/{path:.*}', function($request, $response) {
|
||||||
return $response
|
return $response
|
||||||
->withHeader('Location', '/out/out.ViewFolder.php')
|
->withHeader('Location', $settings->_httpRoot.'out/out.ViewFolder.php')
|
||||||
->withStatus(302);
|
->withStatus(302);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue
Block a user