diff --git a/modules/admin/admin.admin.model.php b/modules/admin/admin.admin.model.php
index 7e92bcc42..cc1234e7d 100644
--- a/modules/admin/admin.admin.model.php
+++ b/modules/admin/admin.admin.model.php
@@ -91,6 +91,10 @@
if(strpos($v,'d') === 0 || strpos($v, '
')) $list[] = substr(strrchr($v,' '),1) . '/';
}
}
+ else
+ {
+ return new Object(-1,'msg_ftp_no_directory');
+ }
$this->add('list', $list);
}
diff --git a/modules/admin/lang/lang.xml b/modules/admin/lang/lang.xml
index 1c2a3ad64..59538bccd 100644
--- a/modules/admin/lang/lang.xml
+++ b/modules/admin/lang/lang.xml
@@ -1180,6 +1180,20 @@ Lütfen son sürümü için indirme linkine tıklayınız.]]>
files/config/ftp.config.php 檔案中。 安裝後可在設定頁面中新增、更改或刪除此資訊。]]>
files/config/ftp.config.php gespeichert. Nach der Installation ist es auch möglich, dass die Angabe von Administrator modifiziert oder gelöscht werden kann.]]>
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
-