From: Jan Schneider Date: Thu, 18 Mar 2010 18:23:24 +0000 (+0100) Subject: Fix several parse errors. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=5e411c90f5e0d96cb662255c5b6e0db7f792ec6c;p=horde.git Fix several parse errors. --- 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);