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 {
changePassSuccess: "<?php ptrans('Password successfully changed.')?>",
newUserNonameError: "<?php ptrans('User name has not been set.')?>",
newUserExistsError: "<?php ptrans('User already exists in database.')?>",
- newUserSuccess: "<?php ptrans('User successfully added.')?>"
+ newUserSuccess: "<?php ptrans('User successfully added.')?>",
+ DisabledForDemo: "<?php ptrans('This feature is not enabled on demo site')?>"
};
var sypSettings = {
<table>
<tr>
<td><label for="user"><?php ptrans('user')?></label></td>
- <td style="width: 100%"><input id="user" name="user"></td>
+ <td style="width: 100%"><input id="user" name="user" value="admin"></td>
</tr>
<tr>
<td><label for="password"><?php ptrans('password')?></label></td>