]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/includes/class-ftp-pure.php
WordPress 4.3
[autoinstalls/wordpress.git] / wp-admin / includes / class-ftp-pure.php
index 5ef92bfddac2404a9b4400ccb83c0c696c0bca4d..7146c9626d6ddfa754b8c7a9fbe2307182a4d908 100644 (file)
@@ -3,24 +3,38 @@
  * PemFTP - A Ftp implementation in pure PHP
  *
  * @package PemFTP
- * @since 2.5
+ * @since 2.5.0
  *
  * @version 1.0
  * @copyright Alexey Dotsenko
  * @author Alexey Dotsenko
  * @link http://www.phpclasses.org/browse/package/1743.html Site
- * @license LGPL License http://www.opensource.org/licenses/lgpl-license.html
+ * @license LGPL http://www.opensource.org/licenses/lgpl-license.html
  */
-class ftp extends ftp_base {
 
-       function ftp($verb=FALSE, $le=FALSE) {
-               $this->__construct($verb, $le);
-       }
+/**
+ * FTP implementation using fsockopen to connect.
+ *
+ * @package PemFTP
+ * @subpackage Pure
+ * @since 2.5.0
+ *
+ * @version 1.0
+ * @copyright Alexey Dotsenko
+ * @author Alexey Dotsenko
+ * @link http://www.phpclasses.org/browse/package/1743.html Site
+ * @license LGPL http://www.opensource.org/licenses/lgpl-license.html
+ */
+class ftp extends ftp_base {
 
        function __construct($verb=FALSE, $le=FALSE) {
                parent::__construct(false, $verb, $le);
        }
 
+       function ftp($verb=FALSE, $le=FALSE) {
+               $this->__construct($verb, $le);
+       }
+
 // <!-- --------------------------------------------------------------------------------------- -->
 // <!--       Private functions                                                                 -->
 // <!-- --------------------------------------------------------------------------------------- -->
@@ -172,4 +186,5 @@ class ftp extends ftp_base {
                }
        }
 }
+
 ?>