diff options
author | eric <eric> | 2004-10-24 20:55:30 +0000 |
---|---|---|
committer | eric <eric> | 2004-10-24 20:55:30 +0000 |
commit | d118769d8ca25cd406ceb7412b84aa87f97c808f (patch) | |
tree | 1e3856cd1e4e95549b6b107140cf7694a0467b64 /web/lib | |
parent | f35f7206869d359a1a5adbc919a8b2a9e23e4ad4 (diff) |
just a little work on it - still have some code and plenty of debugging to do
Diffstat (limited to 'web/lib')
-rw-r--r-- | web/lib/aur.inc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/web/lib/aur.inc b/web/lib/aur.inc index f652b06..e696d5b 100644 --- a/web/lib/aur.inc +++ b/web/lib/aur.inc @@ -512,11 +512,11 @@ function rm_rf($dirname="") { $d = dir($dirname); while ($f = $d->read()) { if ($f != "." && $f != "..") { - if (is_dir($dirname.$f)) { - rm_rf($dirname.$f."/"); + if (is_dir($dirname."/".$f)) { + rm_rf($dirname."/".$f); } - if (is_file($dirname.$f) || is_link($dirname.$f)) { - unlink($dirname.$f); + if (is_file($dirname."/".$f) || is_link($dirname."/".$f)) { + unlink($dirname."/".$f); } } } |