diff --git a/index.php b/index.php
index 88d7f795..941aacc2 100644
--- a/index.php
+++ b/index.php
@@ -42,7 +42,8 @@ define('EASYWIDIR', dirname(__FILE__));
//Automatic redirection to the install folder
if (is_dir(EASYWIDIR . '/install')) {
- echo '';
+ $currentPath = trim($_SERVER['REQUEST_URI'], '/');
+ echo '';
}
$main = 1;