diff options
author | eric <eric> | 2004-10-24 22:55:30 +0200 |
---|---|---|
committer | eric <eric> | 2004-10-24 22:55:30 +0200 |
commit | d118769d8ca25cd406ceb7412b84aa87f97c808f (patch) | |
tree | 1e3856cd1e4e95549b6b107140cf7694a0467b64 /web/lib/aur.inc | |
parent | f35f7206869d359a1a5adbc919a8b2a9e23e4ad4 (diff) | |
download | aur-d118769d8ca25cd406ceb7412b84aa87f97c808f.tar.gz aur-d118769d8ca25cd406ceb7412b84aa87f97c808f.tar.xz |
just a little work on it - still have some code and plenty of debugging to do
Diffstat (limited to 'web/lib/aur.inc')
-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 f652b061..e696d5bb 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); } } } |