Always boot Laravel (#9842)

* Always boot Laravel
That way we can depend on it being available.
Saves us crashes if some code accidentally uses something that isn't booted and a lot of silly if/elses.

* ignore init php errors
This commit is contained in:
Tony Murray
2019-03-14 08:06:27 -05:00
committed by GitHub
parent 3905423147
commit c7c7b57de4
5 changed files with 8 additions and 7 deletions

View File

@@ -130,7 +130,7 @@ if ($pre_checks_failed) {
exit;
}
$init_modules = ['laravel'];
$init_modules = [];
require 'includes/init.php';
// make sure install_dir is set correctly, or the next includes will fail