[Legacy] Add installed config check to entryPoint

This commit is contained in:
Clemente Raposo 2025-01-15 11:09:41 +00:00 committed by c.raposo
parent 34f6f9b7d9
commit e798f89901

View file

@ -76,6 +76,9 @@ if (file_exists($autoloader)) {
// config|_override.php
if (is_file('config.php')) {
require_once 'config.php'; // provides $sugar_config
if (isset($GLOBALS['sugar_config']['installed']) && $GLOBALS['sugar_config']['installed'] === false) {
$GLOBALS['installing'] = true;
}
} else {
// load minimal sugar config required to provide basic data to Suite8 application
$sugar_config = array(