mirror of
https://github.com/easy-wi/developer.git
synced 2025-02-20 11:23:28 +08:00
Fixed "/install" redirect
This commit is contained in:
parent
22043e02aa
commit
eaa5780664
@ -42,7 +42,8 @@ define('EASYWIDIR', dirname(__FILE__));
|
|||||||
|
|
||||||
//Automatic redirection to the install folder
|
//Automatic redirection to the install folder
|
||||||
if (is_dir(EASYWIDIR . '/install')) {
|
if (is_dir(EASYWIDIR . '/install')) {
|
||||||
echo '<meta http-equiv="refresh" content="0; URL=/install/">';
|
$currentPath = trim($_SERVER['REQUEST_URI'], '/');
|
||||||
|
echo '<meta http-equiv="refresh" content="0; URL=/' . $currentPath . '/install/">';
|
||||||
}
|
}
|
||||||
|
|
||||||
$main = 1;
|
$main = 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user