Work around issue with Weathermaps (#10033)

This commit is contained in:
Tony Murray
2019-03-27 16:34:24 -05:00
committed by GitHub
parent 7bfe0bc831
commit 4e4ceffc0a
3 changed files with 29 additions and 1 deletions

View File

@@ -93,7 +93,11 @@ if (module_selected('alerts', $init_modules)) {
}
// Boot Laravel
\LibreNMS\Util\Laravel::bootCli();
if (module_selected('auth', $init_modules)) {
\LibreNMS\Util\Laravel::bootWeb();
} else {
\LibreNMS\Util\Laravel::bootCli();
}
set_debug(false); // disable debug initially (hides legacy errors too)