diff options
Diffstat (limited to 'phpBB/includes/db.php')
-rw-r--r-- | phpBB/includes/db.php | 14 |
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; } |