summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2015-04-20 13:47:00 +0200
committerAndrey Andreev <narf@devilix.net>2015-04-20 13:47:00 +0200
commitd3913f591353d17954ee900f2524f24c1833af85 (patch)
treed6de95c29951251436875d9ce53bd04321eb75a8 /system
parent6b620fb7e61f1051f5bced189d1b57bd30a97126 (diff)
Fix #3787
Diffstat (limited to 'system')
-rw-r--r--system/libraries/Ftp.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Ftp.php b/system/libraries/Ftp.php
index af45bb55f..b53207577 100644
--- a/system/libraries/Ftp.php
+++ b/system/libraries/Ftp.php
@@ -490,7 +490,7 @@ class CI_FTP {
// so we'll recursively call delete_dir()
if ( ! preg_match('#/\.\.?$#', $list[$i]) && ! @ftp_delete($this->conn_id, $list[$i]))
{
- $this->delete_dir($list[$i]);
+ $this->delete_dir($filepath.$list[$i]);
}
}
}