1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-11 11:13:59 +02:00

he braces style is deprecated as of PHP 6

git-svn-id: file:///svn/phpbb/trunk@6459 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen
2006-10-07 17:40:07 +00:00
parent a7df65168c
commit 485935e1f1
16 changed files with 33 additions and 56 deletions

View File

@@ -424,7 +424,7 @@ function validate_config_vars($config_vars, &$cfg_array, &$error)
}
$destination = str_replace(array('../', '..\\', './', '.\\'), '', $destination);
if ($destination && ($destination{0} == '/' || $destination{0} == "\\"))
if ($destination && ($destination[0] == '/' || $destination[0] == "\\"))
{
$destination = '';
}