Skip to content

Commit 52bdb77

Browse files
committed
Cleanup router - But still need to fix 0.0.0.0 binding via docker.
1 parent f9f2f48 commit 52bdb77

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.router.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44

55
$filename = $_SERVER["PATH_INFO"] ?? $_SERVER["SCRIPT_NAME"];
66

7+
//die(print_r($_SERVER, true));
8+
9+
//$_SERVER['HTTP_HOST'] = '';
10+
//$_SERVER['BASE_PAGE'] = '/';
11+
//$_SERVER['SERVER_NAME'] = 'localhost';
12+
713
if (!file_exists($_SERVER["DOCUMENT_ROOT"] . $filename)) {
814
require_once __DIR__ . '/error.php';
915

0 commit comments

Comments
 (0)