aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_install.php
diff options
context:
space:
mode:
authorDavid M <davidmj@users.sourceforge.net>2007-05-31 03:14:05 +0000
committerDavid M <davidmj@users.sourceforge.net>2007-05-31 03:14:05 +0000
commitc0bb650c58c15bbac261517c32f96c89d60dafb2 (patch)
treefae74557e9c16dc5914f51622ab5c674cc8e09e1 /phpBB/includes/functions_install.php
parent32c9152b8fda90f796e96971dd34ba1fdf83b1a3 (diff)
downloadforums-c0bb650c58c15bbac261517c32f96c89d60dafb2.tar
forums-c0bb650c58c15bbac261517c32f96c89d60dafb2.tar.gz
forums-c0bb650c58c15bbac261517c32f96c89d60dafb2.tar.bz2
forums-c0bb650c58c15bbac261517c32f96c89d60dafb2.tar.xz
forums-c0bb650c58c15bbac261517c32f96c89d60dafb2.zip
#11967
git-svn-id: file:///svn/phpbb/trunk@7700 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 43d536e7e9..fa85b89d48 100644
--- a/phpBB/includes/functions_install.php
+++ b/phpBB/includes/functions_install.php
@@ -280,7 +280,7 @@ function connect_check_db($error_connect, &$error, $dbms, $table_prefix, $dbhost
{
case 'mysql':
case 'mysqli':
- if (strpos($table_prefix, '-') !== false)
+ if (strpos($table_prefix, '-') !== false || strpos($table_prefix, '.') !== false)
{
$error[] = $lang['INST_ERR_PREFIX_INVALID'];
return false;