mirror of
https://github.com/SuiteCRM/SuiteCRM-Core.git
synced 2025-09-04 08:28:56 +08:00
[Legacy] Add check for install on legacy
This commit is contained in:
parent
b499c28a30
commit
7ffdb9a325
1 changed files with 8 additions and 0 deletions
|
@ -42,6 +42,14 @@ if (!defined('sugarEntry')) {
|
|||
define('sugarEntry', true);
|
||||
}
|
||||
|
||||
if (!file_exists('./config.php') && file_exists('../../.installed_checked')) {
|
||||
header('Location: ../#/install');
|
||||
}
|
||||
|
||||
if (!file_exists('../../.installed_checked')){
|
||||
header('Location: ../install.php');
|
||||
}
|
||||
|
||||
// Set Globals
|
||||
global $sugar_version;
|
||||
global $current_user, $sugar_config;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue