Skip to content
Browse files

Remove install checks

  • Loading branch information...
1 parent 830c8c5 commit e4ca91cd327307a4fdc6fdaf36138e66aab73c31 @dextercowley dextercowley committed Feb 3, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 administrator/includes/framework.php
  2. +1 −1 includes/framework.php
View
2 administrator/includes/framework.php
@@ -19,7 +19,7 @@
/*
* 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();
}
View
2 includes/framework.php
@@ -20,7 +20,7 @@
// 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');

0 comments on commit e4ca91c

Please sign in to comment.
Something went wrong with that request. Please try again.