Added some code to ignore empty folders when deleting directories
diff --git a/system/helpers/file_helper.php b/system/helpers/file_helper.php
index 5895182..6378784 100644
--- a/system/helpers/file_helper.php
+++ b/system/helpers/file_helper.php
@@ -132,7 +132,11 @@
 			{

 				if (is_dir($path.'/'.$filename))

 				{

-					delete_files($path.'/'.$filename, $del_dir, $level + 1);

+					// Ignore empty folders

+					if (substr($filename, 0, 1) != '.')

+					{

+						delete_files($path.'/'.$filename, $del_dir, $level + 1);

+					}

 				}

 				else

 				{