X-Git-Url: https://dev.renevier.net/gitweb.cgi?p=syp.git;a=blobdiff_plain;f=inc%2Fhtml%2Findex.php;fp=inc%2Fhtml%2Findex.php;h=f1e3239b8a23accaea7286e1f146aeb86aa96425;hp=550ee48564cde59b8e2503a3ee14afb9f6557405;hb=81b566d916827fa6ee03b6fbf06c180ec249e7e7;hpb=42ad41096b29573ca0429b316d364195eac02e8e diff --git a/inc/html/index.php b/inc/html/index.php index 550ee48..f1e3239 100644 --- a/inc/html/index.php +++ b/inc/html/index.php @@ -3,7 +3,7 @@ license. */ @include_once ("./inc/settings.php"); -require_once ("./inc/db/mysql.php"); +require_once ("./inc/db/" . (defined ("DBTYPE")? DBTYPE: "mysql") . ".php"); try { $connection->connect (DBHOST, DBUSER, DBPWD, DBNAME, DBPREFIX);