Removed extra verbosity

This commit is contained in:
fbsanchez 2021-03-15 10:07:36 +01:00
parent fc29160c91
commit b63f1ad681
2 changed files with 1 additions and 5 deletions
pandora_console
operation/events
ws.php

@ -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) {