X-Git-Url: https://dev.renevier.net/gitweb.cgi?p=syp.git;a=blobdiff_plain;f=news.php;fp=news.php;h=886b00e5ff2f6cbb2dea20191cf1b7f56bf90b8e;hp=cc06521a5b880cf4be43b436605ebfdcb9844200;hb=81b566d916827fa6ee03b6fbf06c180ec249e7e7;hpb=42ad41096b29573ca0429b316d364195eac02e8e diff --git a/news.php b/news.php index cc06521..886b00e 100644 --- a/news.php +++ b/news.php @@ -123,7 +123,7 @@ function main ($features) { if (!@include_once ("./inc/settings.php")) { exit ("server error"); } -require_once ("./inc/db/mysql.php"); +require_once ("./inc/db/" . (defined ("DBTYPE")? DBTYPE: "mysql") . ".php"); require_once ("./inc/utils.php"); try {