diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-01-25 10:38:35 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-01-25 10:38:35 +0000 |
commit | af3f94b37ebb4e6b2d03f937e40a157a17dff223 (patch) | |
tree | 002f4e23f118c3324f7cf2bceb781c441f55406f /includes/filetransfer | |
parent | 4f6cf1d1a1ac7f6ef0295cbdcf24ea980fda61b7 (diff) | |
download | brdo-af3f94b37ebb4e6b2d03f937e40a157a17dff223.tar.gz brdo-af3f94b37ebb4e6b2d03f937e40a157a17dff223.tar.bz2 |
- Patch #693614 by asimmonds: fixed PHPDoc spelling typos.
Diffstat (limited to 'includes/filetransfer')
-rw-r--r-- | includes/filetransfer/filetransfer.inc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/includes/filetransfer/filetransfer.inc b/includes/filetransfer/filetransfer.inc index cdd6e2cbf..27d6815a0 100644 --- a/includes/filetransfer/filetransfer.inc +++ b/includes/filetransfer/filetransfer.inc @@ -5,7 +5,7 @@ * Base FileTransfer class. * * Classes extending this class perform file operations on directories not - * writeable by the webserver. To achieve this, the class should connect back + * writable by the webserver. To achieve this, the class should connect back * to the server using some backend (for example FTP or SSH). To keep security, * the password should always be asked from the user and never stored. For * safety, all methods operate only inside a "jail", by default the Drupal root. @@ -17,7 +17,7 @@ abstract class FileTransfer { protected $port; /** - * The constructer for the UpdateConnection class. This method is also called + * The constructor for the UpdateConnection class. This method is also called * from the classes that extend this class and override this method. */ function __construct($jail) { @@ -150,7 +150,7 @@ abstract class FileTransfer { /** * Returns a modified path suitable for passing to the server. - * If a path is a windows path, makes it posix compliant by removing the drive letter. + * If a path is a windows path, makes it POSIX compliant by removing the drive letter. * If $this->chroot has a value, it is stripped from the path to allow for * chroot'd filetransfer systems. * @@ -171,13 +171,13 @@ abstract class FileTransfer { } /** - * Changes backslahes to slashes, also removes a trailing slash. + * Changes backslashes to slashes, also removes a trailing slash. * * @param string $path * @return string */ function sanitizePath($path) { - $path = str_replace('\\', '/', $path); // Windows path sanitiation. + $path = str_replace('\\', '/', $path); // Windows path sanitization. if (substr($path, -1) == '/') { $path = substr($path, 0, -1); } |