mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-23 19:51:26 +02:00
some missing merges...
git-svn-id: file:///svn/phpbb/trunk@8545 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user