From 45b22fd31f52fbdc884217efc573ccd13bdde92a Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Sat, 28 Mar 2009 15:18:53 +0000 Subject: [PATCH] fix unkown variable problem. ;) git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9410 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/functions.php | 3 +++ 1 file changed, 3 insertions(+) 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'])) {