From db72270acc2ef8dcf1b04ec5e7ed8ce3fb38d81c Mon Sep 17 00:00:00 2001 From: Clark Tomlinson Date: Mon, 22 Sep 2014 10:13:46 -0400 Subject: [PATCH] fixing directory seperators --- lib/private/helper.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/private/helper.php b/lib/private/helper.php index f696b5a8900..1297d356d09 100644 --- a/lib/private/helper.php +++ b/lib/private/helper.php @@ -630,10 +630,10 @@ class OC_Helper { * temporary files are automatically cleaned up after the script is finished */ public static function tmpFolder() { - $path = get_temp_dir() . '/' . md5(time() . rand()); + $path = get_temp_dir() . DIRECTORY_SEPARATOR . md5(time() . rand()); mkdir($path); self::$tmpFiles[] = $path; - return $path . '/'; + return $path . DIRECTORY_SEPARATOR; } /**