From 9e5c25504e275d8de071f2efafa349ebee21063c Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Wed, 24 Jan 2007 11:29:56 +0000 Subject: - added confirm box to ucp zebra (adding fried/foe) - permission fixes for conversions - use more appropiate error message within convertor if source tables could not be found - other tiny fixes git-svn-id: file:///svn/phpbb/trunk@6925 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/functions_transfer.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'phpBB/includes/functions_transfer.php') diff --git a/phpBB/includes/functions_transfer.php b/phpBB/includes/functions_transfer.php index 8c00f2b1dd..883c9a7177 100644 --- a/phpBB/includes/functions_transfer.php +++ b/phpBB/includes/functions_transfer.php @@ -32,8 +32,8 @@ class transfer { global $phpbb_root_path; - $this->file_perms = 644; - $this->dir_perms = 777; + $this->file_perms = '0644'; + $this->dir_perms = '0777'; // We use the store directory as temporary path to circumvent open basedir restrictions $this->tmp_path = $phpbb_root_path . 'store/'; @@ -382,7 +382,7 @@ class ftp extends transfer } else { - $chmod_cmd = 'CHMOD 0' . $perms . ' ' . $file; + $chmod_cmd = 'CHMOD ' . $perms . ' ' . $file; $err = $this->_site($chmod_cmd); } -- cgit v1.2.1