X-Git-Url: https://dev.renevier.net/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=inc%2Fhtml%2Fadmin.php;h=63b6c4078f1da8c523a91e5e3ca705a7d69fa388;hb=633d9d4e7f1055190aed797aa1ee28b8e3c79c0f;hp=a96a4700db1a356d62f09804d1b3e45dff019fcd;hpb=33a91080919eb054e335b7eae3dc1d927b63e83b;p=syp.git
diff --git a/inc/html/admin.php b/inc/html/admin.php
index a96a470..63b6c40 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");
+ }
+?>
+