mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-27 03:50:22 +02:00
fix a small glitch in phpbb_chmod
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8784 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -566,7 +566,7 @@ function phpbb_chmod($filename, $perms = CHMOD_READ)
|
||||
case 'owner':
|
||||
$result = @chmod($filename, ($owner << 6) + (0 << 3) + (0 << 0));
|
||||
|
||||
if (!is_null($php) || (!is_readable($filename) && is_writable($filename)))
|
||||
if (!is_null($php) || (is_readable($filename) && is_writable($filename)))
|
||||
{
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user