mirror of
https://github.com/joomla/joomla-cms.git
synced 2024-06-29 16:43:42 +00:00
Remove install checks
This commit is contained in:
parent
830c8c54be
commit
e4ca91cd32
|
@ -19,7 +19,7 @@ defined('_JEXEC') or die;
|
||||||
/*
|
/*
|
||||||
* Installation check, and check on removal of the install directory.
|
* 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');
|
header('Location: ../installation/index.php');
|
||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,7 +20,7 @@ defined('_JEXEC') or die;
|
||||||
// Installation check, and check on removal of the install directory.
|
// 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')) {
|
if (file_exists(JPATH_INSTALLATION.'/index.php')) {
|
||||||
header('Location: '.substr($_SERVER['REQUEST_URI'], 0, strpos($_SERVER['REQUEST_URI'], 'index.php')).'installation/index.php');
|
header('Location: '.substr($_SERVER['REQUEST_URI'], 0, strpos($_SERVER['REQUEST_URI'], 'index.php')).'installation/index.php');
|
||||||
|
|
Loading…
Reference in New Issue
Block a user