aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/db.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2001-07-13 16:14:37 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2001-07-13 16:14:37 +0000
commitea983410993371bcc63e1a120fe17bed964f5f08 (patch)
tree5bb1cc1bd365b04ba40aba256c9a4b82982a691e /phpBB/includes/db.php
parent79d57c449fc190ce693d2ecfdbb0dc36e8e82be7 (diff)
downloadforums-ea983410993371bcc63e1a120fe17bed964f5f08.tar
forums-ea983410993371bcc63e1a120fe17bed964f5f08.tar.gz
forums-ea983410993371bcc63e1a120fe17bed964f5f08.tar.bz2
forums-ea983410993371bcc63e1a120fe17bed964f5f08.tar.xz
forums-ea983410993371bcc63e1a120fe17bed964f5f08.zip
Changes to include location + some other misc stuff
git-svn-id: file:///svn/phpbb/trunk@646 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/db.php')
-rw-r--r--phpBB/includes/db.php14
1 files changed, 9 insertions, 5 deletions
diff --git a/phpBB/includes/db.php b/phpBB/includes/db.php
index 916aa7e0d3..ff1088ea50 100644
--- a/phpBB/includes/db.php
+++ b/phpBB/includes/db.php
@@ -24,19 +24,23 @@
switch($dbms)
{
case 'mysql':
- include('db/mysql.'.$phpEx);
+ include($phpbb_root_path . 'db/mysql.'.$phpEx);
break;
+
case 'postgres':
- include('db/postgres7.'.$phpEx);
+ include($phpbb_root_path . 'db/postgres7.'.$phpEx);
break;
+
case 'mssql':
- include('db/mssql.'.$phpEx);
+ include($phpbb_root_path . 'db/mssql.'.$phpEx);
break;
+
case 'odbc':
- include('db/odbc.'.$phpEx);
+ include($phpbb_root_path . 'db/odbc.'.$phpEx);
break;
+
case 'oracle':
- include('db/oracle.'.$phpEx);
+ include($phpbb_root_path . 'db/oracle.'.$phpEx);
break;
}