diff --git a/public_html/index.php b/public_html/index.php
index 76f0bf12fbf73e90d0773a09ea1956133a89b64d..97f641dae26a76b0a626ea0bbaf45c874a009eb9 100644
--- a/public_html/index.php
+++ b/public_html/index.php
@@ -4,7 +4,7 @@
  * 
  */
 $sApproot=dirname(__DIR__);
-if (file_exists($sApproot.'/config/config_custom.php_') && file_exists($sApproot.'/config/inc_user2roles.php')){
+if (file_exists($sApproot.'/config/config_custom.php') && file_exists($sApproot.'/config/inc_user2roles.php')){
     header("location: /deployment/all/login/");
 }