summaryrefslogtreecommitdiff
path: root/php/upload.php
diff options
context:
space:
mode:
Diffstat (limited to 'php/upload.php')
-rw-r--r--php/upload.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/php/upload.php b/php/upload.php
index 118552e..6f764f5 100644
--- a/php/upload.php
+++ b/php/upload.php
@@ -42,7 +42,7 @@ function generateName($file)
500); // HTTP status code "500 Internal Server Error"
}
- $chars = range('a', 'z');
+ $chars = ID_CHARSET;
$name = '';
for ($i = 0; $i < $length; ++$i) {
$name .= $chars[array_rand($chars)];