summaryrefslogtreecommitdiffstats
path: root/web/lib
diff options
context:
space:
mode:
Diffstat (limited to 'web/lib')
-rw-r--r--web/lib/aur.inc8
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);
}
}
}