From 0ed1005867b20da7736f44e42997384dfb2b4f39 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 27 Dec 2022 10:38:06 +0100 Subject: [PATCH] Enhance install --- htdocs/install/step5.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/htdocs/install/step5.php b/htdocs/install/step5.php index 4fc30772f78..31b086636f2 100644 --- a/htdocs/install/step5.php +++ b/htdocs/install/step5.php @@ -267,11 +267,14 @@ if ($action == "set" || empty($action) || preg_match('/upgrade/i', $action)) { if (!$resql) { dol_print_error($db, 'Error in setup program'); } + // The install.lock file is created few lines later if version is last one or if option MAIN_ALWAYS_CREATE_LOCK_AFTER_LAST_UPGRADE is on + /* No need to enable this $resql = $db->query("INSERT INTO ".MAIN_DB_PREFIX."const(name,value,type,visible,note,entity) values(".$db->encrypt('MAIN_REMOVE_INSTALL_WARNING').", ".$db->encrypt(1).", 'chaine', 1, 'Disable install warnings', 0)"); if (!$resql) { dol_print_error($db, 'Error in setup program'); } $conf->global->MAIN_REMOVE_INSTALL_WARNING = 1; + */ } // If we ask to force some modules to be enabled