From af7d26038eb13ec18b951aa7987ceef9bf3144a2 Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Tue, 8 Mar 2011 20:48:07 +0100 Subject: [PATCH] Removed code for testing --- root/includes/acp/acp_portal.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/includes/acp/acp_portal.php b/root/includes/acp/acp_portal.php index 5aef54fd..71a895a1 100644 --- a/root/includes/acp/acp_portal.php +++ b/root/includes/acp/acp_portal.php @@ -912,7 +912,7 @@ class acp_portal $compress->extract($mod_dir . '_tmp/'); $compress->close(); $folder_contents = scandir($mod_dir . '_tmp/', 1); // This ensures dir is at index 0 - //print_r($folder_contents); + // We need to check if there's a main directory inside the temp MOD directory if (sizeof($folder_contents) == 3) {