1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/11700] Get the installer to run with namespaces

PHPBB3-11700
This commit is contained in:
Nils Adermann
2013-09-10 17:13:29 +02:00
parent 9a2c29a175
commit d297eb4aec
4 changed files with 39 additions and 32 deletions

View File

@@ -5647,9 +5647,9 @@ function phpbb_convert_30_dbms_to_31($dbms)
// true for mysqli class.
// However, per the docblock any valid 3.1 driver name should be
// recognized by this function, and have priority over 3.0 dbms.
if (class_exists('\phpbb\db\driver\\' . $dbms))
if (class_exists('phpbb\db\driver\\' . $dbms))
{
return '\phpbb\db\driver\\' . $dbms;
return 'phpbb\db\driver\\' . $dbms;
}
if (class_exists($dbms))