diff options
author | Nils Adermann <naderman@naderman.de> | 2013-09-10 17:13:29 +0200 |
---|---|---|
committer | Nils Adermann <naderman@naderman.de> | 2013-09-16 00:41:38 +0200 |
commit | d297eb4aecc6e658987c9647d76fed4210ef77f5 (patch) | |
tree | a4db94268e69a8713b6bb2da3c9bffec14fec2d2 /phpBB/includes/functions.php | |
parent | 9a2c29a175085a424e4c638853da22f2cb83f12d (diff) | |
download | forums-d297eb4aecc6e658987c9647d76fed4210ef77f5.tar forums-d297eb4aecc6e658987c9647d76fed4210ef77f5.tar.gz forums-d297eb4aecc6e658987c9647d76fed4210ef77f5.tar.bz2 forums-d297eb4aecc6e658987c9647d76fed4210ef77f5.tar.xz forums-d297eb4aecc6e658987c9647d76fed4210ef77f5.zip |
[ticket/11700] Get the installer to run with namespaces
PHPBB3-11700
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r-- | phpBB/includes/functions.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 643f2d35a2..086d8b9dd0 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -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)) |