|
@@ -40,7 +40,7 @@ class FilesystemHook
|
|
|
public function init(App $app): void
|
|
public function init(App $app): void
|
|
|
{
|
|
{
|
|
|
$app->config->hook(function ($name, $value) use ($app) {
|
|
$app->config->hook(function ($name, $value) use ($app) {
|
|
|
- if (str_starts_with($name, 'filesystem') && !$this->configInit) {
|
|
|
|
|
|
|
+ if (!$this->configInit) {
|
|
|
$config = extension_config('filesystem');
|
|
$config = extension_config('filesystem');
|
|
|
try {
|
|
try {
|
|
|
$app->config->set([
|
|
$app->config->set([
|