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

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

No files matched your search

+1
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);