diff options
| author | Savetheinternet <savetheinternet@n0v4.com> | 2010-11-05 20:32:40 +1100 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@n0v4.com> | 2010-11-05 20:32:40 +1100 |
| commit | f6abfa61c693b9b55937be0db0a54ca074349cc6 (patch) | |
| tree | bba3d754dfdd49b1f84338c9d5729f22ab6be385 /inc/config.php | |
| parent | 6fc9db808747acf5a91caa65d65819d930f1b987 (diff) | |
Added a check to verify if .ZIP files are infact archives.
Diffstat (limited to 'inc/config.php')
| -rw-r--r-- | inc/config.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/inc/config.php b/inc/config.php index e5c0b42e..40ea923a 100644 --- a/inc/config.php +++ b/inc/config.php @@ -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); |
