mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-18 16:22:14 +00:00
fixed setup wizard
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
<?php
|
||||
namespace App\Providers;
|
||||
|
||||
use PDOException;
|
||||
use Schema;
|
||||
use Illuminate\Support\ServiceProvider;
|
||||
|
||||
@@ -53,6 +54,8 @@ class AppServiceProvider extends ServiceProvider
|
||||
return;
|
||||
}
|
||||
|
||||
// Try to set settings for fraud prevention mechanism
|
||||
try {
|
||||
$settings = getAllSettings();
|
||||
|
||||
config([
|
||||
@@ -66,6 +69,7 @@ class AppServiceProvider extends ServiceProvider
|
||||
],
|
||||
]
|
||||
]);
|
||||
} catch (PDOException $e) {}
|
||||
}
|
||||
|
||||
private function setLocale(): void
|
||||
|
||||
Reference in New Issue
Block a user