aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_install.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2008-05-04 14:47:49 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2008-05-04 14:47:49 +0000
commiteb664ddafba53883666e4755afb7eca51ef89cf5 (patch)
treea40f2b1ef829f8975f1ef5122d3158feece75862 /phpBB/includes/functions_install.php
parent771fd3696d2f729476399d5acf92a68dd154d78d (diff)
downloadforums-eb664ddafba53883666e4755afb7eca51ef89cf5.tar
forums-eb664ddafba53883666e4755afb7eca51ef89cf5.tar.gz
forums-eb664ddafba53883666e4755afb7eca51ef89cf5.tar.bz2
forums-eb664ddafba53883666e4755afb7eca51ef89cf5.tar.xz
forums-eb664ddafba53883666e4755afb7eca51ef89cf5.zip
some missing merges...
git-svn-id: file:///svn/phpbb/trunk@8545 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_install.php')
-rw-r--r--phpBB/includes/functions_install.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_install.php b/phpBB/includes/functions_install.php
index cdd62b6d9e..84b1fb66c2 100644
--- a/phpBB/includes/functions_install.php
+++ b/phpBB/includes/functions_install.php
@@ -311,7 +311,7 @@ function connect_check_db($error_connect, &$error, $dbms_details, $table_prefix,
{
case 'mysql':
case 'mysqli':
- if (strpos($table_prefix, '-') !== false || strpos($table_prefix, '.') !== false)
+ if (strspn($table_prefix, '-./\\') !== 0)
{
$error[] = $lang['INST_ERR_PREFIX_INVALID'];
return false;