mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-04 20:36:03 +01:00
Use cache/tmp fallback rather than just cache/
This commit is contained in:
@@ -1327,7 +1327,7 @@ class Admin
|
||||
try {
|
||||
$tmp_dir = Grav::instance()['locator']->findResource('tmp://', true, true);
|
||||
} catch (\Exception $e) {
|
||||
$tmp_dir = Grav::instance()['locator']->findResource('cache://', true, true);
|
||||
$tmp_dir = Grav::instance()['locator']->findResource('cache://', true, true) . '/tmp';
|
||||
}
|
||||
return $tmp_dir;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user