Update of /cvsroot/tslogparser/tslogparser/admin/modules
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24151/modules
Modified Files:
tahi.mod.php
Log Message:
quick fixes
Index: tahi.mod.php
===================================================================
RCS file: /cvsroot/tslogparser/tslogparser/admin/modules/tahi.mod.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- tahi.mod.php 11 Jul 2005 09:09:59 -0000 1.7
+++ tahi.mod.php 14 Nov 2005 13:17:46 -0000 1.8
@@ -218,7 +218,7 @@
}
/* Recursively delete a directory with all its content */
-function deldir($dir) {
+function deldir2($dir) {
$dh=opendir($dir);
while ($file=readdir($dh)) {
if($file!="." && $file!="..") {
@@ -226,7 +226,7 @@
if(!is_dir($fullpath)) {
unlink($fullpath);
} else {
- deldir($fullpath);
+ deldir2($fullpath);
}
}
}
@@ -882,7 +882,7 @@
echo "$count results were inserted in the database.\n";
/* Delete the extracted tarball */
- deldir($tmpdir);
+ deldir2($tmpdir);
return true;
}
|