Do not display deprecated warnings by default (#1952)
This commit is contained in:
parent
f15ac5957a
commit
8457001294
1 changed files with 1 additions and 1 deletions
2
init.php
2
init.php
|
@ -20,7 +20,7 @@
|
||||||
ini_set('upload_max_filesize', '16M');
|
ini_set('upload_max_filesize', '16M');
|
||||||
|
|
||||||
// See all error except warnings
|
// See all error except warnings
|
||||||
error_reporting(E_ALL^E_WARNING);
|
error_reporting(E_ALL & ~E_WARNING & ~E_DEPRECATED);
|
||||||
|
|
||||||
// 3rd-party libraries
|
// 3rd-party libraries
|
||||||
if (! file_exists(__DIR__ . '/vendor/autoload.php')) {
|
if (! file_exists(__DIR__ . '/vendor/autoload.php')) {
|
||||||
|
|
Loading…
Reference in a new issue