From ea983410993371bcc63e1a120fe17bed964f5f08 Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Fri, 13 Jul 2001 16:14:37 +0000 Subject: Changes to include location + some other misc stuff git-svn-id: file:///svn/phpbb/trunk@646 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/db.php | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'phpBB/includes/db.php') 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; } -- cgit v1.2.1