Fixed "/install" redirect

This commit is contained in:
Jan 2024-10-31 15:20:47 +01:00
parent 22043e02aa
commit eaa5780664

View File

@ -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;