diff options
Diffstat (limited to '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); } |
