Added a check to verify if .ZIP files are infact archives.

This commit is contained in:
Savetheinternet 2010-11-05 20:32:40 +11:00
parent 6fc9db8087
commit f6abfa61c6
2 changed files with 7 additions and 1 deletions

View file

@ -51,6 +51,7 @@
define('ERR_INVALIDIMG','Invalid image.', true);
define('ERR_FILESIZE', 'Maximum file size: %maxsz% bytes<br>Your file\'s size: %filesz% bytes', true);
define('ERR_MAXSIZE', 'The file was too big.', true);
define('ERR_INVALIDZIP', 'Invalid archive!', true);
// For resizing, max values
define('THUMB_WIDTH', 200, true);