mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00: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:
parent
4d7b9b76fa
commit
2cd45dd574
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue