X-Git-Url: https://dev.renevier.net/gitweb.cgi?p=syp.git;a=blobdiff_plain;f=news.php;h=886b00e5ff2f6cbb2dea20191cf1b7f56bf90b8e;hp=cc06521a5b880cf4be43b436605ebfdcb9844200;hb=4414f33ecd172ea188660a45c8d8fb3469416d4f;hpb=b6cae6a5698c5d0655d921f78f0ccab470bf034c 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 {