From 247772323ecb035885778c8a6cc8f83f60482c30 Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Fri, 5 Nov 2010 20:43:18 +1100 Subject: Allowed change of root directory for systems where it is not the current directory. --- post.php | 1 + 1 file changed, 1 insertion(+) (limited to 'post.php') 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); -- cgit v1.3