aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/db/dbal.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2007-11-19 16:44:30 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2007-11-19 16:44:30 +0000
commitc698a2571a9da98d3cb77852220f46149066ac90 (patch)
tree1a8732352035826a56452ac442c458328f83f0a8 /phpBB/includes/db/dbal.php
parenta4d0eba7814d633ee3b4a7f0d9bc47854c5845a5 (diff)
downloadforums-c698a2571a9da98d3cb77852220f46149066ac90.tar
forums-c698a2571a9da98d3cb77852220f46149066ac90.tar.gz
forums-c698a2571a9da98d3cb77852220f46149066ac90.tar.bz2
forums-c698a2571a9da98d3cb77852220f46149066ac90.tar.xz
forums-c698a2571a9da98d3cb77852220f46149066ac90.zip
further updates
git-svn-id: file:///svn/phpbb/trunk@8248 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/db/dbal.php')
-rw-r--r--phpBB/includes/db/dbal.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/db/dbal.php b/phpBB/includes/db/dbal.php
index a68ce1e2a4..ed6ba71fea 100644
--- a/phpBB/includes/db/dbal.php
+++ b/phpBB/includes/db/dbal.php
@@ -787,6 +787,6 @@ class dbal
/**
* This variable holds the class name to use later
*/
-$sql_db = 'dbal_' . $dbms;
+$sql_db = (!empty($dbms)) ? 'dbal_' . basename($dbms) : 'dbal';
?> \ No newline at end of file