diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2006-11-28 14:31:55 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2006-11-28 14:31:55 +0000 |
commit | e0a33e05bd7909e366223515600958d4303d46a8 (patch) | |
tree | 407ede381180bdaa936dff6b585909ca7daa1bdc /phpBB/includes/functions_transfer.php | |
parent | 63496350392d12828ee1119241eaf0687811c70a (diff) | |
download | forums-e0a33e05bd7909e366223515600958d4303d46a8.tar forums-e0a33e05bd7909e366223515600958d4303d46a8.tar.gz forums-e0a33e05bd7909e366223515600958d4303d46a8.tar.bz2 forums-e0a33e05bd7909e366223515600958d4303d46a8.tar.xz forums-e0a33e05bd7909e366223515600958d4303d46a8.zip |
fix for ftp update bug...
git-svn-id: file:///svn/phpbb/trunk@6689 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_transfer.php')
-rw-r--r-- | phpBB/includes/functions_transfer.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/phpBB/includes/functions_transfer.php b/phpBB/includes/functions_transfer.php index 00ef78f933..3a3bb24563 100644 --- a/phpBB/includes/functions_transfer.php +++ b/phpBB/includes/functions_transfer.php @@ -196,7 +196,9 @@ class transfer global $phpbb_root_path; $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)) { |