mirror of
https://github.com/nextcloud/server.git
synced 2026-03-20 17:43:15 -04:00
fixing directory seperators
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue