forked from leftypol/leftypol
Added a check to verify if .ZIP files are infact archives.
This commit is contained in:
parent
6fc9db8087
commit
f6abfa61c6
2 changed files with 7 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue