summaryrefslogtreecommitdiff
path: root/post.php
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@n0v4.com>2010-11-05 20:43:18 +1100
committerSavetheinternet <savetheinternet@n0v4.com>2010-11-05 20:43:18 +1100
commit247772323ecb035885778c8a6cc8f83f60482c30 (patch)
tree9d564be9c480de329395263109ece65a0e73d015 /post.php
parentf6abfa61c693b9b55937be0db0a54ca074349cc6 (diff)
Allowed change of root directory for systems where it is not the current directory.
Diffstat (limited to 'post.php')
-rw-r--r--post.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/post.php b/post.php
index e10f3b4e..a1d32f27 100644
--- a/post.php
+++ b/post.php
@@ -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);