From aeda75eeee6c4b5214cee4f3976a9152203ec63a Mon Sep 17 00:00:00 2001 From: "sr.msilva" Date: Fri, 11 Feb 2022 23:20:29 -0300 Subject: [PATCH] Fix dirExists method --- includes/ftp/ftp.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/ftp/ftp.class.php b/includes/ftp/ftp.class.php index 4b0fad7..9b07be8 100644 --- a/includes/ftp/ftp.class.php +++ b/includes/ftp/ftp.class.php @@ -81,7 +81,7 @@ public function mkdir($ftp, $ftpdir) }); foreach ($dirs as $dir) { - if (!$this->dirExists($ftp, $dir)) { + if (!$this->dirExists($dir)) { ftp_mkdir($ftp, $dir); }