fix: update mPDF temp directory configuration key to temp_dir

This commit is contained in:
2026-05-01 09:40:35 -04:00
parent 298f3fa22b
commit 4b9220c89e
+1 -1
View File
@@ -285,7 +285,7 @@ class PagesController extends Controller
// Configure mPDF to use a writable directory // Configure mPDF to use a writable directory
$config = [ $config = [
'tempDir' => storage_path('temp') 'temp_dir' => storage_path('temp')
]; ];
if (!file_exists(storage_path('temp'))) { if (!file_exists(storage_path('temp'))) {
mkdir(storage_path('temp'), 0755, true); mkdir(storage_path('temp'), 0755, true);