Permalink
Browse files

Remove install checks

  • Loading branch information...
1 parent d53146a commit 89212df3870cb1d3a7da283e171b2b3e31502274 @dextercowley dextercowley committed Jan 23, 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 89212df

Please sign in to comment.