From 1353ffb2ea331e068cddac6afe7a1fa949d207a1 Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Sun, 27 Jan 2008 14:54:29 +0000 Subject: Fixed a bug (#3330) in the FTP class where a comparison wasn't getting made. Fixed typo in the FTP Class (ftp_unable_to_remame). --- system/language/english/ftp_lang.php | 2 +- system/libraries/Ftp.php | 2 +- user_guide/changelog.html | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/system/language/english/ftp_lang.php b/system/language/english/ftp_lang.php index 0b7087a6c..da744fea7 100644 --- a/system/language/english/ftp_lang.php +++ b/system/language/english/ftp_lang.php @@ -8,7 +8,7 @@ $lang['ftp_unable_to_changedir'] = "Unable to change directories."; $lang['ftp_unable_to_chmod'] = "Unable to set file permissions. Please check your path. Note: This feature is only available in PHP 5 or higher."; $lang['ftp_unable_to_upload'] = "Unable to upload the specified file. Please check your path."; $lang['ftp_no_source_file'] = "Unable to locate the source file. Please check your path."; -$lang['ftp_unable_to_remame'] = "Unable to rename the file."; +$lang['ftp_unable_to_rename'] = "Unable to rename the file."; $lang['ftp_unable_to_delete'] = "Unable to delete the file."; $lang['ftp_unable_to_move'] = "Unable to move the file. Please make sure the destination directory exists."; diff --git a/system/libraries/Ftp.php b/system/libraries/Ftp.php index 9fdee0122..ed934b548 100644 --- a/system/libraries/Ftp.php +++ b/system/libraries/Ftp.php @@ -302,7 +302,7 @@ class CI_FTP { { if ($this->debug == TRUE) { - $msg = ($move = FALSE) ? 'ftp_unable_to_remame' : 'ftp_unable_to_move'; + $msg = ($move == FALSE) ? 'ftp_unable_to_rename' : 'ftp_unable_to_move'; $this->_error($msg); } diff --git a/user_guide/changelog.html b/user_guide/changelog.html index 86c89fee0..86e7b7595 100644 --- a/user_guide/changelog.html +++ b/user_guide/changelog.html @@ -158,6 +158,7 @@ Change Log -- cgit v1.2.3-24-g4f1b