Make SelfOSS available on port 80 on host side

This commit is contained in:
Jean Baptiste Favre
2016-06-28 19:24:10 +02:00
parent 9a88f5876c
commit 212576fd06
2 changed files with 4 additions and 4 deletions

View File

@@ -29,6 +29,7 @@ if (php_sapi_name() == 'cli-server') {
// taken from cli arg, hack for updater
$_SERVER["SERVER_ADDR"] = '127.0.0.1';
$_SERVER["SERVER_NAME"] = '127.0.0.1';
$_SERVER["SERVER_PORT"] = '80';
require("index.php");
}