diff options
author | Clark Tomlinson <fallen013@gmail.com> | 2014-09-22 10:13:46 -0400 |
---|---|---|
committer | Clark Tomlinson <fallen013@gmail.com> | 2014-09-22 10:13:46 -0400 |
commit | db72270acc2ef8dcf1b04ec5e7ed8ce3fb38d81c (patch) | |
tree | 938cec6de6ddd6b35dd7af77dc72aecd03b2e8cc | |
parent | 831d34f084e4c2f6b13303f58e12a9f96eb10a74 (diff) | |
download | nextcloud-server-db72270acc2ef8dcf1b04ec5e7ed8ce3fb38d81c.tar.gz nextcloud-server-db72270acc2ef8dcf1b04ec5e7ed8ce3fb38d81c.zip |
fixing directory seperators
-rw-r--r-- | lib/private/helper.php | 4 |
1 files 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; } /** |