Merge branch 'ent-7089-11446-trazas-en-el-codigo-de-release' into 'develop'

Removed extra verbosity

See merge request artica/pandorafms!3899
This commit is contained in:
Daniel Rodriguez 2021-03-23 09:29:05 +00:00
commit f92c75639a
3 changed files with 5 additions and 5 deletions

View File

@ -52,6 +52,10 @@ if ((int) $develop_bypass === 1) {
}
ini_set('display_errors', 1);
} else {
// Leave user decide error_level, but limit errors to be displayed only in
// logs.
ini_set('display_errors', 0);
}
// Check if mysqli is available

View File

@ -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';

View File

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