fix for ftp update bug...

git-svn-id: file:///svn/phpbb/trunk@6689 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen 2006-11-28 14:31:55 +00:00
parent 6349635039
commit e0a33e05bd

View file

@ -196,7 +196,9 @@ class transfer
global $phpbb_root_path; global $phpbb_root_path;
$directory = $this->root_path . str_replace($phpbb_root_path, '', $directory); $directory = $this->root_path . str_replace($phpbb_root_path, '', $directory);
$result = $this->_ls($directory);
$this->_chdir($directory);
$result = $this->_ls('');
if ($result !== false && is_array($result)) if ($result !== false && is_array($result))
{ {