This commit is contained in:
Shish
2020-10-24 13:46:49 +01:00
parent 9b878d98d6
commit 8ff70134ae
10 changed files with 62 additions and 69 deletions

View File

@ -56,5 +56,5 @@ if (PHP_SAPI === 'cli' || PHP_SAPI == 'phpdbg') {
die("CLI with remote addr? Confused, not taking the risk.");
}
$_SERVER['REMOTE_ADDR'] = "0.0.0.0";
$_SERVER['HTTP_HOST'] = "<cli command>";
$_SERVER['HTTP_HOST'] = "cli-command";
}