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