Skip to content
Snippets Groups Projects
Commit db72270a authored by Clark Tomlinson's avatar Clark Tomlinson
Browse files

fixing directory seperators

parent 831d34f0
No related branches found
No related tags found
No related merge requests found
...@@ -630,10 +630,10 @@ class OC_Helper { ...@@ -630,10 +630,10 @@ class OC_Helper {
* temporary files are automatically cleaned up after the script is finished * temporary files are automatically cleaned up after the script is finished
*/ */
public static function tmpFolder() { public static function tmpFolder() {
$path = get_temp_dir() . '/' . md5(time() . rand()); $path = get_temp_dir() . DIRECTORY_SEPARATOR . md5(time() . rand());
mkdir($path); mkdir($path);
self::$tmpFiles[] = $path; self::$tmpFiles[] = $path;
return $path . '/'; return $path . DIRECTORY_SEPARATOR;
} }
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment