mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-19 00:01:00 +08:00
fix getSchemeAndHttpHost()
This commit is contained in:
@@ -11,8 +11,7 @@ if (!file_exists($rootpath . '.env')) {
|
||||
$installScriptRelativePath = 'install/install.php';
|
||||
$installScriptFile = $rootpath . "public/$installScriptRelativePath";
|
||||
if (file_exists($installScriptFile)) {
|
||||
header('Location: ' . getBaseUrl() . '/' . $installScriptRelativePath);
|
||||
exit(0);
|
||||
redirect($installScriptRelativePath);
|
||||
}
|
||||
}
|
||||
ini_set('date.timezone', config('nexus.timezone'));
|
||||
|
||||
Reference in New Issue
Block a user