diff --git a/src/Xssless.php b/src/Xssless.php index 74be72e..7496b02 100755 --- a/src/Xssless.php +++ b/src/Xssless.php @@ -54,7 +54,7 @@ public function usingLaravelConfig(): static throw new XsslessException('xssless.default must be a string.'); } - $config = config("xssless.{$driver}"); + $config = config("xssless.drivers.{$driver}"); if (! $config instanceof ConfigInterface) { throw new XsslessException("xssless.drivers.{$driver} must implement: ".ConfigInterface::class);