diff --git a/administrator/includes/framework.php b/administrator/includes/framework.php index 572e7b35912..9c0d94da665 100644 --- a/administrator/includes/framework.php +++ b/administrator/includes/framework.php @@ -19,7 +19,7 @@ defined('_JEXEC') or die; /* * Installation check, and check on removal of the install directory. */ -if (!file_exists(JPATH_CONFIGURATION.'/configuration.php') || (filesize(JPATH_CONFIGURATION.'/configuration.php') < 10) || file_exists(JPATH_INSTALLATION.'/index.php')) { +if (!file_exists(JPATH_CONFIGURATION.'/configuration.php') || (filesize(JPATH_CONFIGURATION.'/configuration.php') < 10) /*|| file_exists(JPATH_INSTALLATION.'/index.php')*/) { header('Location: ../installation/index.php'); exit(); } diff --git a/includes/framework.php b/includes/framework.php index 4817220ae2d..54813b30f63 100644 --- a/includes/framework.php +++ b/includes/framework.php @@ -20,7 +20,7 @@ defined('_JEXEC') or die; // Installation check, and check on removal of the install directory. // -if (!file_exists(JPATH_CONFIGURATION.'/configuration.php') || (filesize(JPATH_CONFIGURATION.'/configuration.php') < 10) || file_exists(JPATH_INSTALLATION.'/index.php')) { +if (!file_exists(JPATH_CONFIGURATION.'/configuration.php') || (filesize(JPATH_CONFIGURATION.'/configuration.php') < 10) /*|| file_exists(JPATH_INSTALLATION.'/index.php')*/) { if (file_exists(JPATH_INSTALLATION.'/index.php')) { header('Location: '.substr($_SERVER['REQUEST_URI'], 0, strpos($_SERVER['REQUEST_URI'], 'index.php')).'installation/index.php');