diff --git a/pandora_console/ajax.php b/pandora_console/ajax.php index b653fbd5c5..fca916d796 100644 --- a/pandora_console/ajax.php +++ b/pandora_console/ajax.php @@ -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... diff --git a/pandora_console/index.php b/pandora_console/index.php index 09cbdb7962..9d079624d4 100755 --- a/pandora_console/index.php +++ b/pandora_console/index.php @@ -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'])) {