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:
commit
f92c75639a
|
@ -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
|
||||
|
|
|
@ -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…
Reference in New Issue