diff options
| author | Neku <neku@pomf.se> | 2013-12-16 09:41:36 +0100 |
|---|---|---|
| committer | Neku <neku@pomf.se> | 2013-12-16 09:41:36 +0100 |
| commit | e3d0deca0dc9e3333d2ee0fd557766480da734b1 (patch) | |
| tree | b9a6f60e75f6bc645afd4a0c4091ee346c507676 /static/upload.php | |
| parent | 31c55b8800f7004ff25c34e8963510bdfe12ef58 (diff) | |
maybe one more, we need new algo
Diffstat (limited to 'static/upload.php')
| -rw-r--r-- | static/upload.php | 2 |
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; |
