mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
Removed extra verbosity
This commit is contained in:
parent
fc29160c91
commit
b63f1ad681
pandora_console
@ -30,7 +30,7 @@
|
||||
global $config;
|
||||
|
||||
// Don't display other errors, messes up XML.
|
||||
ini_set('display_errors', E_ALL);
|
||||
ini_set('display_errors', 0);
|
||||
|
||||
require_once '../../include/config.php';
|
||||
require_once '../../include/functions.php';
|
||||
|
@ -91,10 +91,6 @@ if (isset($config['gotty']) === false) {
|
||||
config_update_value('gotty', '/usr/bin/gotty');
|
||||
}
|
||||
|
||||
|
||||
ini_set('display_errors', 1);
|
||||
error_reporting(E_ALL);
|
||||
|
||||
$os = strtolower(PHP_OS);
|
||||
if (substr($os, 0, 3) !== 'win') {
|
||||
if (empty($config['gotty']) === false) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user