diff options
| author | Eliot Whalan <ewhal@pantsu.cat> | 2016-06-19 23:21:35 +0200 |
|---|---|---|
| committer | Eliot Whalan <ewhal@pantsu.cat> | 2016-06-19 23:21:35 +0200 |
| commit | 4decebe30f04fb42d6f0182b5584067a5ae28f44 (patch) | |
| tree | a29c01b59492a469902efdaf6b10dae05997bff7 /php/upload.php | |
| parent | be85d8aad3bf3483de9b8bc409337b7252e94059 (diff) | |
Fix constant variable error
Diffstat (limited to 'php/upload.php')
| -rw-r--r-- | php/upload.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/php/upload.php b/php/upload.php index 7ea89ff..118552e 100644 --- a/php/upload.php +++ b/php/upload.php @@ -84,7 +84,7 @@ function uploadFile($file) if (!in_array(mime_content_type($file), $FILTER_MIME)) { throw new UploadException(UPLOAD_ERR_EXTENSION); } - if $WHITELIST == true { + if WHITELIST == true { if (!in_array(mime_content_type($file), $WHITELIST_MIME)) { throw new UploadException(UPLOAD_ERR_EXTENSION); } |
