summaryrefslogtreecommitdiffstats
path: root/system/libraries/Ftp.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-12-03 13:37:47 +0100
committerAndrey Andreev <narf@bofh.bg>2012-12-03 13:37:47 +0100
commit838a9d69a9139b6bcd6f8765fdd2d58b929e70ad (patch)
tree3d296693ea910fd5473e9fb7dec825e4e9edae50 /system/libraries/Ftp.php
parent6a38949d5ac50a123c7fdee37d9561e02fa72884 (diff)
[ci skip] Cleaned some spaces
Diffstat (limited to 'system/libraries/Ftp.php')
-rw-r--r--system/libraries/Ftp.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/system/libraries/Ftp.php b/system/libraries/Ftp.php
index 60c03b5ad..7f58fee7b 100644
--- a/system/libraries/Ftp.php
+++ b/system/libraries/Ftp.php
@@ -460,7 +460,7 @@ class CI_FTP {
}
// Add a trailing slash to the file path if needed
- $filepath = preg_replace('/(.+?)\/*$/', '\\1/', $filepath);
+ $filepath = preg_replace('/(.+?)\/*$/', '\\1/', $filepath);
$list = $this->list_files($filepath);
@@ -636,7 +636,6 @@ class CI_FTP {
'xml'
);
-
return in_array($ext, $text_types) ? 'ascii' : 'binary';
}