Skip to content

Commit 1176bf0

Browse files
Fixed clean_directories recursive double path
The $file variable normally already contains the path, so it shouldn't be added once more Signed-off-by: Jesse Dobbelaere <jesse@dobbelaere-ae.be>
1 parent 45eb7d4 commit 1176bf0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-deploy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@ class FTP extends Server {
515515

516516
foreach ($filelist as $file) {
517517
if ($file != '.' and $file != '..') {
518-
$this->recursive_remove($file_or_directory . "/" . $file);
518+
$this->recursive_remove($file);
519519
}
520520
}
521521

0 commit comments

Comments
 (0)