diff --git a/src/Config/Config.php b/src/Config/Config.php index 8a34ea45..f6e80e02 100644 --- a/src/Config/Config.php +++ b/src/Config/Config.php @@ -24,7 +24,7 @@ public static function rebind(): void /** @param array $data */ public static function fromArray(array $data): self { - $source = require realpath(__DIR__.'/../../config/backup.php'); + $source = config('backup'); return new self( backup: BackupConfig::fromArray(array_merge($source['backup'], $data['backup'] ?? [])),