@@ -124,7 +124,7 @@ discard block |
||
124 | 124 | $this->ensureDirectoryExists($this->directory, $this->create); |
125 | 125 | |
126 | 126 | $file = $this->computePath($key); |
127 | - $lines = ftp_rawlist($this->getConnection(), '-al ' . \Gaufrette\Util\Path::dirname($file)); |
|
127 | + $lines = ftp_rawlist($this->getConnection(), '-al '.\Gaufrette\Util\Path::dirname($file)); |
|
128 | 128 | |
129 | 129 | if (false === $lines) { |
130 | 130 | return false; |
@@ -367,13 +367,13 @@ discard block |
||
367 | 367 | } |
368 | 368 | |
369 | 369 | // Build the FTP URL that will be used to check if the path is a directory or not |
370 | - $url = 'ftp://' . $this->username . ':' . $this->password . '@' . $this->host; |
|
370 | + $url = 'ftp://'.$this->username.':'.$this->password.'@'.$this->host; |
|
371 | 371 | |
372 | - if($this->port) { |
|
373 | - $url .= ':' . $this->port; |
|
372 | + if ($this->port) { |
|
373 | + $url .= ':'.$this->port; |
|
374 | 374 | } |
375 | 375 | |
376 | - if (!@is_dir($url . $directory)) { |
|
376 | + if (!@is_dir($url.$directory)) { |
|
377 | 377 | return false; |
378 | 378 | } |
379 | 379 | |
@@ -559,7 +559,7 @@ discard block |
||
559 | 559 | } |
560 | 560 | |
561 | 561 | // enable utf8 mode if configured |
562 | - if($this->utf8 == true) { |
|
562 | + if ($this->utf8 == true) { |
|
563 | 563 | ftp_raw($this->connection, "OPTS UTF8 ON"); |
564 | 564 | } |
565 | 565 |