X-Git-Url: https://dev.renevier.net/gitweb.cgi?a=blobdiff_plain;f=inc%2Fhtml%2Fadmin.php;h=3dc893cd686e90ec28fd4a66658117a6e1e4fd35;hb=16f9936de11e0bfe080334eb1416a8faff39b34f;hp=a96a4700db1a356d62f09804d1b3e45dff019fcd;hpb=33a91080919eb054e335b7eae3dc1d927b63e83b;p=syp.git
diff --git a/inc/html/admin.php b/inc/html/admin.php
index a96a470..3dc893c 100644
--- a/inc/html/admin.php
+++ b/inc/html/admin.php
@@ -7,7 +7,7 @@ $error = false;
if (!@include_once ("./inc/settings.php")) {
$error = true;
}
-require_once ("./inc/db/mysql.php");
+require_once ("./inc/db/" . (defined ("DBTYPE")? DBTYPE: "mysql") . ".php");
require_once ("./inc/utils.php");
try {
@@ -53,6 +53,12 @@ if (!$usrtblexists || !$itemstblexists) {
+\n");
+ }
+?>
+