diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2006-10-07 17:40:07 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2006-10-07 17:40:07 +0000 |
commit | 485935e1f1a3a773260cda0b7ac3f3800dca990e (patch) | |
tree | ef8a8069f948d96bc86787cc30ea8fe1e3239837 /phpBB/adm/index.php | |
parent | a7df65168c3380e50fbe84d8f9e74274b1cc74ff (diff) | |
download | forums-485935e1f1a3a773260cda0b7ac3f3800dca990e.tar forums-485935e1f1a3a773260cda0b7ac3f3800dca990e.tar.gz forums-485935e1f1a3a773260cda0b7ac3f3800dca990e.tar.bz2 forums-485935e1f1a3a773260cda0b7ac3f3800dca990e.tar.xz forums-485935e1f1a3a773260cda0b7ac3f3800dca990e.zip |
he braces style is deprecated as of PHP 6
git-svn-id: file:///svn/phpbb/trunk@6459 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/adm/index.php')
-rw-r--r-- | phpBB/adm/index.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/adm/index.php b/phpBB/adm/index.php index 826df2f04b..7a3997cdd7 100644 --- a/phpBB/adm/index.php +++ b/phpBB/adm/index.php @@ -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 = ''; } |