X-Git-Url: https://dev.renevier.net/gitweb.cgi?p=syp.git;a=blobdiff_plain;f=inc%2Fhtml%2Fadmin.php;h=63b6c4078f1da8c523a91e5e3ca705a7d69fa388;hp=b0df4b5c6ea866c69d40fbc09ad907ce8facd6d2;hb=633d9d4e7f1055190aed797aa1ee28b8e3c79c0f;hpb=bc8447229929345cdb3cb3af88e309f0626fe9bb diff --git a/inc/html/admin.php b/inc/html/admin.php index b0df4b5..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 { @@ -83,7 +83,8 @@ if (!$usrtblexists || !$itemstblexists) { changePassSuccess: "", newUserNonameError: "", newUserExistsError: "", - newUserSuccess: "" + newUserSuccess: "", + DisabledForDemo: "" }; var sypSettings = { @@ -219,7 +220,7 @@ if (!$usrtblexists || !$itemstblexists) { - +