mirror of
https://github.com/SuiteCRM/SuiteCRM-Core.git
synced 2025-08-29 21:00:39 +08:00
Remove exception alert from the installation process
Point to the logs.
This commit is contained in:
parent
4d3aee02bd
commit
9ba41588f4
1 changed files with 3 additions and 2 deletions
|
@ -179,7 +179,8 @@ class InstallHandler extends LegacyHandler
|
|||
$installResult = $installResult ?? [];
|
||||
$installResult['success'] = false;
|
||||
$installResult['messages'] = $installResult['messages'] ?? [];
|
||||
$installResult['messages'] = array_merge($installResult['messages'], ['Exception: ' . $t->getMessage()]);
|
||||
$installResult['debug'] = $installResult['debug'] ?? [];
|
||||
$installResult['debug'] = array_merge($installResult['debug'], ['Exception: ' . $t->getMessage()]);
|
||||
}
|
||||
|
||||
$success = ($installResult['success'] ?? false) && is_file('config.php');
|
||||
|
@ -187,7 +188,7 @@ class InstallHandler extends LegacyHandler
|
|||
|
||||
$messages = ['SuiteCRM Installation Completed'];
|
||||
if (!$success) {
|
||||
$messages = ['An error occurred while installing SuiteCRM. Please check the logs.'];
|
||||
$messages = ["An error occurred while installing SuiteCRM. Please check the '/logs/install.log'."];
|
||||
}
|
||||
$messages = array_merge($messages, $installMessages);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue