aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Storage
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-11-22 18:39:38 -0800
committerzotlabs <mike@macgirvin.com>2018-11-22 18:39:38 -0800
commit9a8d1200ecc9f877b431a00a5219b41d2bd68de6 (patch)
treeb6afc65e731be86dec77e46bde1fc9f6343bda9d /Zotlabs/Storage
parent8e713245144d0bcedca0d3345017b5fa232c8ca3 (diff)
downloadvolse-hubzilla-9a8d1200ecc9f877b431a00a5219b41d2bd68de6.tar.gz
volse-hubzilla-9a8d1200ecc9f877b431a00a5219b41d2bd68de6.tar.bz2
volse-hubzilla-9a8d1200ecc9f877b431a00a5219b41d2bd68de6.zip
use uuid in file storage
Diffstat (limited to 'Zotlabs/Storage')
-rw-r--r--Zotlabs/Storage/Directory.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Storage/Directory.php b/Zotlabs/Storage/Directory.php
index 642af6300..b30aecf92 100644
--- a/Zotlabs/Storage/Directory.php
+++ b/Zotlabs/Storage/Directory.php
@@ -224,7 +224,7 @@ class Directory extends DAV\Node implements DAV\ICollection, DAV\IQuota, DAV\IMo
}
$filesize = 0;
- $hash = random_string();
+ $hash = new_uuid();
$f = 'store/' . $this->auth->owner_nick . '/' . (($this->os_path) ? $this->os_path . '/' : '') . $hash;