mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
Merge branch 'ent-7070-archivo-raro-0-en-pandoa_console' into 'develop'
Avoid file 0 with log in pandora_console See merge request artica/pandorafms!3863
This commit is contained in:
commit
bcb0832309
@ -61,7 +61,7 @@ if (isset($config['console_log_enabled']) === true
|
||||
ini_set('error_log', $config['homedir'].'/log/console.log');
|
||||
} else {
|
||||
ini_set('log_errors', 0);
|
||||
ini_set('error_log', 0);
|
||||
ini_set('error_log', null);
|
||||
}
|
||||
|
||||
// Sometimes input is badly retrieved from caller...
|
||||
|
@ -148,7 +148,7 @@ if (isset($config['console_log_enabled']) && $config['console_log_enabled'] == 1
|
||||
ini_set('error_log', $config['homedir'].'/log/console.log');
|
||||
} else {
|
||||
ini_set('log_errors', 0);
|
||||
ini_set('error_log', 0);
|
||||
ini_set('error_log', null);
|
||||
}
|
||||
|
||||
if (isset($config['error'])) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user