summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;