Fixed: remove home page redirection

This commit is contained in:
amit sharma
2026-10-28 17:14:48 +05:30
parent c127181c75
commit f2d761dc0f

View File

@@ -98,18 +98,6 @@ abstract class InstallControllerHttp
}
$session = InstallSession::getInstance();
$process_validated = $session->process_validated;
$installing = !empty($process_validated['generateSettingsFile']) && empty($process_validated['installTheme']);
if (!$installing && file_exists(_PS_ROOT_DIR_.'/config/settings.inc.php')) {
@include_once _PS_ROOT_DIR_.'/config/settings.inc.php';
if (!defined('_PS_VERSION_') || !version_compare(_PS_VERSION_, _PS_INSTALL_VERSION_, '<')) {
header('Location: ../');
exit;
}
}
if (!$session->last_step || $session->last_step == 'welcome') {
Tools::generateIndex();
}