Fix Net class and error reporting level.
This commit is contained in:
David Callizaya
2017-08-25 10:57:20 -04:00
parent e3c0d6e6ca
commit 52322493df
3 changed files with 38 additions and 2 deletions

View File

@@ -485,6 +485,7 @@ class WebApplication
// Change storage path
app()->useStoragePath(realpath(PATH_DATA));
app()->make(Kernel::class)->bootstrap();
error_reporting(error_reporting() & ~E_STRICT & ~E_DEPRECATED);
\Bootstrap::setLanguage();