diff options
| author | Eric Johansson (neku) <neku@pomf.se> | 2014-12-20 03:07:32 +0100 |
|---|---|---|
| committer | Eric Johansson (neku) <neku@pomf.se> | 2014-12-20 03:07:32 +0100 |
| commit | 8d14ca5b70c3a52172c4fbd187557f20e0fb0522 (patch) | |
| tree | dc214ebb623b6332dd38b7836a11495cf1bddf62 /static/upload.php | |
| parent | 3b9c6ba681a84fdeaf9d6dc32779dc87b225888a (diff) | |
Update upload.php
Diffstat (limited to 'static/upload.php')
| -rw-r--r-- | static/upload.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/static/upload.php b/static/upload.php index 780eb5b..3fd4c31 100644 --- a/static/upload.php +++ b/static/upload.php @@ -31,6 +31,7 @@ function generate_name ($file) { if ($tries-- == 0) throw new Exception('Gave up trying to find an unused name'); //Random filename generator + $newname=''; $startNumber = ord("a"); $endNumber = ord("z"); for ($i = 0; $i < 6; $i++) { |
