mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user