fix: update mPDF temp directory configuration key to temp_dir
This commit is contained in:
@@ -285,7 +285,7 @@ class PagesController extends Controller
|
||||
|
||||
// Configure mPDF to use a writable directory
|
||||
$config = [
|
||||
'tempDir' => storage_path('temp')
|
||||
'temp_dir' => storage_path('temp')
|
||||
];
|
||||
if (!file_exists(storage_path('temp'))) {
|
||||
mkdir(storage_path('temp'), 0755, true);
|
||||
|
||||
Reference in New Issue
Block a user