Skip to content
Snippets Groups Projects
Commit 1546b3e5 authored by Florian Azizian's avatar Florian Azizian
Browse files

FIX check maarch tmp dir with php-fpm

parent 618854ec
No related branches found
No related tags found
No related merge requests found
......@@ -120,6 +120,8 @@ class CoreConfigModel
{
if (isset($_SERVER['MAARCH_TMP_DIR'])) {
$tmpDir = $_SERVER['MAARCH_TMP_DIR'];
} elseif (isset($_SERVER['REDIRECT_MAARCH_TMP_DIR'])) {
$tmpDir = $_SERVER['REDIRECT_MAARCH_TMP_DIR'];
} else {
$tmpDir = sys_get_temp_dir();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment