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