summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorNeku <neku@pomf.se>2013-12-16 09:41:36 +0100
committerNeku <neku@pomf.se>2013-12-16 09:41:36 +0100
commite3d0deca0dc9e3333d2ee0fd557766480da734b1 (patch)
treeb9a6f60e75f6bc645afd4a0c4091ee346c507676 /static
parent31c55b8800f7004ff25c34e8963510bdfe12ef58 (diff)
maybe one more, we need new algo
Diffstat (limited to 'static')
-rw-r--r--static/upload.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/static/upload.php b/static/upload.php
index 65fde41..61388fd 100644
--- a/static/upload.php
+++ b/static/upload.php
@@ -27,7 +27,7 @@ function generate_name ($file) {
$newname .= chr(mt_rand(ord("z"), ord("a"))); // + random lowercase letter
$newname .= chr(mt_rand(ord("a"), ord("z"))); // + random lowercase letter
$newname .= chr(mt_rand(ord("z"), ord("a"))); // + random lowercase letter
-
+ $newname .= chr(mt_rand(ord("a"), ord("z"))); // + random lowercase letter
// To add a dot or not after a file which has no extension
if ($ext != '') $newname .= '.' . $ext;