mirror of
https://github.com/SuiteCRM/SuiteCRM-Core.git
synced 2025-09-04 10:14:13 +08:00
[Legacy] Add installed config check to entryPoint
This commit is contained in:
parent
34f6f9b7d9
commit
e798f89901
1 changed files with 3 additions and 0 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue