Set error reporting in core.php instead of apache configuration

This commit is contained in:
Benjamin Renard 2013-06-17 14:53:31 +02:00
parent 2429a04e5f
commit 5ae76c1692
2 changed files with 1 additions and 1 deletions

View file

@ -4,6 +4,5 @@ Alias /ldapsaisie /usr/share/ldapsaisie
<IfModule mod_php5.c> <IfModule mod_php5.c>
php_flag magic_quotes_gpc Off php_flag magic_quotes_gpc Off
php_flag register_globals Off php_flag register_globals Off
php_value error_reporting "E_ALL & ~E_DEPRECATED & ~E_NOTICE & ~E_STRICT"
</IfModule> </IfModule>
</Directory> </Directory>

View file

@ -24,6 +24,7 @@
ini_set( 'magic_quotes_gpc', 'off' ); ini_set( 'magic_quotes_gpc', 'off' );
ini_set( 'magic_quotes_sybase', 'off' ); ini_set( 'magic_quotes_sybase', 'off' );
ini_set( 'magic_quotes_runtime', 'off' ); ini_set( 'magic_quotes_runtime', 'off' );
error_reporting(E_ALL ^ E_NOTICE ^ E_STRICT ^ E_DEPRECATED);
// Définitions des dossiers d'inclusions // Définitions des dossiers d'inclusions
define('LS_CONF_DIR','conf/'); define('LS_CONF_DIR','conf/');