diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2009-03-28 15:18:53 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2009-03-28 15:18:53 +0000 |
commit | 45b22fd31f52fbdc884217efc573ccd13bdde92a (patch) | |
tree | d8d5f3c119bb69c7613d10db5330eb4c1f5c6c65 /phpBB/includes | |
parent | f5467430bd98059530dc33e7bcf1e18b64cb8c4c (diff) | |
download | forums-45b22fd31f52fbdc884217efc573ccd13bdde92a.tar forums-45b22fd31f52fbdc884217efc573ccd13bdde92a.tar.gz forums-45b22fd31f52fbdc884217efc573ccd13bdde92a.tar.bz2 forums-45b22fd31f52fbdc884217efc573ccd13bdde92a.tar.xz forums-45b22fd31f52fbdc884217efc573ccd13bdde92a.zip |
fix unkown variable problem. ;)
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9410 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes')
-rw-r--r-- | phpBB/includes/functions.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index f38e0afc26..a5d3be7461 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -563,6 +563,9 @@ function phpbb_chmod($filename, $perms = CHMOD_READ) if ($_chmod_info['process']) { + $file_uid = fileowner($filename); + $file_gid = filegroup($filename); + // Change owner if (@chown($filename, $_chmod_info['common_owner'])) { |