From 47a6f6b726f1716fa5d78b2008652aade9e5e8a7 Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 7 Apr 2017 21:34:06 +0000 Subject: [PATCH] Issue 3300: The temp path creation couldn't create a subdirectory with the hostname --- boot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boot.php b/boot.php index 084bca112e..1d8a9e7f76 100644 --- a/boot.php +++ b/boot.php @@ -2472,7 +2472,7 @@ function get_temppath() { // Check if it is usable if (($temppath != "") AND App::directory_usable($temppath)) { // To avoid any interferences with other systems we create our own directory - $new_temppath .= "/".$a->get_hostname(); + $new_temppath = $temppath."/".$a->get_hostname(); if (!is_dir($new_temppath)) { /// @TODO There is a mkdir()+chmod() upwards, maybe generalize this (+ configurable) into a function/method? mkdir($new_temppath); -- 2.39.5