mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
check for INSTALL environment var
This commit is contained in:
@@ -39,7 +39,7 @@ class CheckInstalled
|
||||
*/
|
||||
public function handle($request, Closure $next)
|
||||
{
|
||||
$installed = file_exists(base_path('config.php'));
|
||||
$installed = !config('librenms.install') && file_exists(base_path('config.php'));
|
||||
$is_install_route = $request->is('install*');
|
||||
|
||||
if (!$installed && !$is_install_route) {
|
||||
|
||||
Reference in New Issue
Block a user