mirror of
https://github.com/YGGverse/next.git
synced 2026-03-31 17:55:34 +00:00
update realpath returned on default file response
This commit is contained in:
parent
87b7d288ae
commit
fd5b8080b4
1 changed files with 4 additions and 1 deletions
|
|
@ -216,8 +216,11 @@ $server->start(
|
|||
// Try index file on enabled
|
||||
if (NEXT_FILE && file_exists($realpath . NEXT_FILE) && is_readable($realpath . NEXT_FILE))
|
||||
{
|
||||
// Update realpath returned on default file response
|
||||
$realpath = $realpath . NEXT_FILE;
|
||||
|
||||
$response = file_get_contents(
|
||||
$realpath . NEXT_FILE
|
||||
$realpath
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue