X-Git-Url: https://dev.renevier.net/?p=syp.git;a=blobdiff_plain;f=items.php;h=37f089d023bf7b040a07603a9f73c4f80c737f49;hp=e2fe1dbbe272b222d6f12d5df6e03a75ffbd6044;hb=HEAD;hpb=f2d7e9e98dc651a2c84c9385838c67d5737d04f0 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);