From e0a33e05bd7909e366223515600958d4303d46a8 Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Tue, 28 Nov 2006 14:31:55 +0000 Subject: [PATCH] fix for ftp update bug... git-svn-id: file:///svn/phpbb/trunk@6689 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/functions_transfer.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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)) {