diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2007-01-24 11:29:56 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2007-01-24 11:29:56 +0000 |
commit | 9e5c25504e275d8de071f2efafa349ebee21063c (patch) | |
tree | 86d37c1ed2b20eca9575084be7668d7b32dcf644 /phpBB/includes/functions_transfer.php | |
parent | 180a5a243d03803fef0d32a6aaa2d6899a83dfcc (diff) | |
download | forums-9e5c25504e275d8de071f2efafa349ebee21063c.tar forums-9e5c25504e275d8de071f2efafa349ebee21063c.tar.gz forums-9e5c25504e275d8de071f2efafa349ebee21063c.tar.bz2 forums-9e5c25504e275d8de071f2efafa349ebee21063c.tar.xz forums-9e5c25504e275d8de071f2efafa349ebee21063c.zip |
- 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
Diffstat (limited to 'phpBB/includes/functions_transfer.php')
-rw-r--r-- | phpBB/includes/functions_transfer.php | 6 |
1 files changed, 3 insertions, 3 deletions
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); } |