mirror of
https://github.com/SuiteCRM/SuiteCRM-Core.git
synced 2025-08-30 02:52:22 +08:00
Fix #475 - [Legacy] Keep upgrade log
This commit is contained in:
parent
78eb20ccca
commit
db9aca1460
1 changed files with 1 additions and 1 deletions
|
@ -1281,7 +1281,7 @@ function logThis($entry, $path='')
|
||||||
if (file_exists('include/utils/sugar_file_utils.php')) {
|
if (file_exists('include/utils/sugar_file_utils.php')) {
|
||||||
require_once('include/utils/sugar_file_utils.php');
|
require_once('include/utils/sugar_file_utils.php');
|
||||||
}
|
}
|
||||||
$log = empty($path) ? clean_path(getcwd().'/upgradeWizard.log') : clean_path($path);
|
$log = empty($path) ? clean_path(getcwd().'/../../logs/upgrade.log') : clean_path($path);
|
||||||
|
|
||||||
// create if not exists
|
// create if not exists
|
||||||
if (!file_exists($log)) {
|
if (!file_exists($log)) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue