From de83130d029289e1b59f28b41c314ce1d157b4a0 Mon Sep 17 00:00:00 2001 From: "Barry vd. Heuvel" Date: Thu, 19 May 2022 17:08:38 +0200 Subject: [PATCH] Revert "Replaced base_path('public') with public_path() in ServiceProvider (#867)" (#884) This reverts commit e49e1747d71f26454d3138d36247e9f8adc724e7. --- src/ServiceProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ServiceProvider.php b/src/ServiceProvider.php index 3914135..3e0febd 100644 --- a/src/ServiceProvider.php +++ b/src/ServiceProvider.php @@ -51,7 +51,7 @@ public function register(): void $options = $app->make('dompdf.options'); $dompdf = new Dompdf($options); - $path = realpath(public_path()); + $path = realpath(base_path('public')); if ($path === false) { throw new \RuntimeException('Cannot resolve public path'); }