fixing directory seperators

remotes/origin/fix-10825
Clark Tomlinson 2014-09-22 10:13:46 +07:00
parent 831d34f084
commit db72270acc
1 changed files with 2 additions and 2 deletions

@ -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;
}
/**