From 5e411c90f5e0d96cb662255c5b6e0db7f792ec6c Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Thu, 18 Mar 2010 19:23:24 +0100 Subject: [PATCH] Fix several parse errors. --- framework/VFS/lib/VFS/smb.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/framework/VFS/lib/VFS/smb.php b/framework/VFS/lib/VFS/smb.php index f326c29f0..e90a00371 100644 --- a/framework/VFS/lib/VFS/smb.php +++ b/framework/VFS/lib/VFS/smb.php @@ -342,7 +342,7 @@ class VFS_smb extends VFS $dironly = false) { list($path) = $this->_escapeShellCommand($path); - return $this->parseListing($this->_command($path, array('ls'), $filter, $dotfiles, $dironly); + return $this->parseListing($this->_command($path, array('ls')), $filter, $dotfiles, $dironly); } /** @@ -431,9 +431,9 @@ class VFS_smb extends VFS { // dirname will strip last component from path, even on a directory $folder = array( - ['val'] = dirname($path), - $folder['abbrev'] = '..', - $folder['label'] = '..' + 'val' => dirname($path), + 'abbrev' => '..', + 'label' => '..' ); $folders = array($folder['val'] => $folder); -- 2.11.0