X-Git-Url: https://dev.renevier.net/gitweb.cgi?p=syp.git;a=blobdiff_plain;f=items.php;fp=items.php;h=37f089d023bf7b040a07603a9f73c4f80c737f49;hp=e2fe1dbbe272b222d6f12d5df6e03a75ffbd6044;hb=81b566d916827fa6ee03b6fbf06c180ec249e7e7;hpb=42ad41096b29573ca0429b316d364195eac02e8e diff --git a/items.php b/items.php index e2fe1db..37f089d 100644 --- a/items.php +++ b/items.php @@ -78,7 +78,7 @@ if (!@include_once ("./inc/settings.php")) { exit ("server error"); } require_once ("./inc/utils.php"); -require_once ("./inc/db/mysql.php"); +require_once ("./inc/db/" . (defined ("DBTYPE")? DBTYPE: "mysql") . ".php"); try { $connection->connect (DBHOST, DBUSER, DBPWD, DBNAME, DBPREFIX);