diff options
| author | Savetheinternet <savetheinternet@n0v4.com> | 2010-11-05 20:43:18 +1100 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@n0v4.com> | 2010-11-05 20:43:18 +1100 |
| commit | 247772323ecb035885778c8a6cc8f83f60482c30 (patch) | |
| tree | 9d564be9c480de329395263109ece65a0e73d015 /post.php | |
| parent | f6abfa61c693b9b55937be0db0a54ca074349cc6 (diff) | |
Allowed change of root directory for systems where it is not the current directory.
Diffstat (limited to 'post.php')
| -rw-r--r-- | post.php | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -123,6 +123,7 @@ if($post['zip']) {
// Validate ZIP file
if(is_resource($zip = zip_open($post['zip'])))
+ // TODO: Check if it's not empty and has at least one (valid) image
zip_close($zip);
else
error(ERR_INVALIDZIP);
|
