Enhance install
This commit is contained in:
parent
585338f277
commit
0ed1005867
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user