diff --git a/debian/conf/apache.conf b/debian/conf/apache.conf index b9322afb..776ad5e6 100644 --- a/debian/conf/apache.conf +++ b/debian/conf/apache.conf @@ -4,6 +4,5 @@ Alias /ldapsaisie /usr/share/ldapsaisie php_flag magic_quotes_gpc Off php_flag register_globals Off - php_value error_reporting "E_ALL & ~E_DEPRECATED & ~E_NOTICE & ~E_STRICT" diff --git a/public_html/core.php b/public_html/core.php index f1ac3f32..01c13e8a 100644 --- a/public_html/core.php +++ b/public_html/core.php @@ -24,6 +24,7 @@ ini_set( 'magic_quotes_gpc', 'off' ); ini_set( 'magic_quotes_sybase', 'off' ); ini_set( 'magic_quotes_runtime', 'off' ); +error_reporting(E_ALL ^ E_NOTICE ^ E_STRICT ^ E_DEPRECATED); // Définitions des dossiers d'inclusions define('LS_CONF_DIR','conf/');