commit | d3913f591353d17954ee900f2524f24c1833af85 | [log] [tgz] |
---|---|---|
author | Andrey Andreev <narf@devilix.net> | Mon Apr 20 14:47:00 2015 +0300 |
committer | Andrey Andreev <narf@devilix.net> | Mon Apr 20 14:47:00 2015 +0300 |
tree | d6de95c29951251436875d9ce53bd04321eb75a8 | |
parent | 6b620fb7e61f1051f5bced189d1b57bd30a97126 [diff] [blame] |
Fix #3787
diff --git a/system/libraries/Ftp.php b/system/libraries/Ftp.php index af45bb5..b532075 100644 --- a/system/libraries/Ftp.php +++ b/system/libraries/Ftp.php
@@ -490,7 +490,7 @@ // 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]); } } }