1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 16:56:44 +02:00

Merge of the language-specific custom path change Revision #r8782

git-svn-id: file:///svn/phpbb/trunk@8786 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen
2008-08-24 10:04:15 +00:00
parent 8174462e89
commit 589db44b56
11 changed files with 91 additions and 69 deletions

View File

@@ -588,7 +588,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;
}
@@ -2168,7 +2168,7 @@ function generate_link_hash($link_name)
/**
* checks a link hash - for GET requests
* @param string $token the submitted token
* @param string $token the submitted token
* @param string $link_name The name of the link
* @return boolean true if all is fine
*/