Fix log file name not set during install
This commit is contained in:
parent
4fa04247a9
commit
0cf38f7197
@ -220,6 +220,7 @@ if (! defined('SYSLOG_FILE')) // To avoid warning on systems with constant alrea
|
||||
else if (@is_writable('../../../../') && @file_exists('../../../../startdoliwamp.bat')) define('SYSLOG_FILE','../../../../dolibarr_install.log'); // For DoliWamp
|
||||
else if (@is_writable('../../')) define('SYSLOG_FILE','../../dolibarr_install.log'); // For others
|
||||
//print 'SYSLOG_FILE='.SYSLOG_FILE;exit;
|
||||
if (defined('SYSLOG_FILE')) $conf->global->SYSLOG_FILE=constant('SYSLOG_FILE');
|
||||
}
|
||||
if (! defined('SYSLOG_FILE_NO_ERROR')) define('SYSLOG_FILE_NO_ERROR',1);
|
||||
// We init log handler for install
|
||||
@ -325,6 +326,7 @@ function conf($dolibarr_main_document_root)
|
||||
else if (@is_writable('../../../../') && @file_exists('../../../../startdoliwamp.bat')) define('SYSLOG_FILE','../../../../dolibarr_install.log'); // For DoliWamp
|
||||
else if (@is_writable('../../')) define('SYSLOG_FILE','../../dolibarr_install.log'); // For others
|
||||
//print 'SYSLOG_FILE='.SYSLOG_FILE;exit;
|
||||
if (defined('SYSLOG_FILE')) $conf->global->SYSLOG_FILE=constant('SYSLOG_FILE');
|
||||
}
|
||||
if (! defined('SYSLOG_FILE_NO_ERROR')) define('SYSLOG_FILE_NO_ERROR',1);
|
||||
// We init log handler for install
|
||||
|
||||
Loading…
Reference in New Issue
Block a user