Move DEBUG and LOGINPUT to config.inc.php, by default error are shown
This commit is contained in:
parent
3f3a4aa90b
commit
da382a11d5
1 changed files with 2 additions and 2 deletions
|
|
@ -125,8 +125,8 @@ if ( DEBUG ) {
|
|||
else {
|
||||
// Rapporte les erreurs d'exécution de script
|
||||
error_reporting(E_ERROR | E_WARNING | E_PARSE);
|
||||
ini_set("display_errors",0);
|
||||
ini_set("html_errors",0);
|
||||
ini_set("display_errors",1);
|
||||
ini_set("html_errors",1);
|
||||
ini_set('log_errors',1);
|
||||
ini_set('error_log','syslog');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue