diff options
| author | Savetheinternet <savetheinternet@n0v4.com> | 2011-01-02 22:45:25 +1100 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@n0v4.com> | 2011-01-02 22:45:25 +1100 |
| commit | e23aa7a7368f9c373f7593976ab84f8f093e5cbd (patch) | |
| tree | e77e0bb9c6467c69d063670ff2fbaf32bd6b0ed0 /post.php | |
| parent | 90b48f128b84268e04d9dc795d9f9631ea188c20 (diff) | |
FILE_HASH in config.php
Diffstat (limited to 'post.php')
| -rw-r--r-- | post.php | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -166,7 +166,8 @@ error(ERR_MAXSIZE); } - $post['filehash'] = md5_file($post['file']); + $hash_function = FILE_HASH; + $post['filehash'] = $hash_function($post['file']); $post['filesize'] = filesize($post['file']); $image = createimage($post['extension'], $post['file']); |
