mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-22 18:09:06 +01:00
Set error reporting in core.php instead of apache configuration
This commit is contained in:
parent
2429a04e5f
commit
5ae76c1692
2 changed files with 1 additions and 1 deletions
1
debian/conf/apache.conf
vendored
1
debian/conf/apache.conf
vendored
|
@ -4,6 +4,5 @@ Alias /ldapsaisie /usr/share/ldapsaisie
|
|||
<IfModule mod_php5.c>
|
||||
php_flag magic_quotes_gpc Off
|
||||
php_flag register_globals Off
|
||||
php_value error_reporting "E_ALL & ~E_DEPRECATED & ~E_NOTICE & ~E_STRICT"
|
||||
</IfModule>
|
||||
</Directory>
|
||||
|
|
|
@ -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/');
|
||||
|
|
Loading…
Reference in a new issue