diff --git a/admin/index.php b/admin/index.php index b516b0b5..ef03d2a3 100644 --- a/admin/index.php +++ b/admin/index.php @@ -3,7 +3,7 @@ * @Author: prpr * @Date: 2016-02-03 14:39:50 * @Last Modified by: printempw - * @Last Modified time: 2016-03-06 14:43:49 + * @Last Modified time: 2016-03-18 14:44:17 */ require "../includes/session.inc.php"; if (!$user->is_admin) header('Location: ../index.php?msg=看起来你并不是管理员'); @@ -13,7 +13,7 @@ if (!$user->is_admin) header('Location: ../index.php?msg=看起来你并不是
-照理来说不应该的,请带上错误信息联系作者:
-error; ?>
- query($sql1) || !$conn->query($sql2) || !$conn->query($sql3)) { ?> +照理来说不应该的,请带上错误信息联系作者:
+error; ?>
+ query("INSERT INTO `".DB_PREFIX."users` (`uid`, `username`, `password`, `ip`, `preference`) VALUES - (1, '".$username."', '".md5($_POST['password'])."', '127.0.0.1', 'default')"); + (1, '".$username."', '".md5($_POST['password'])."', '127.0.0.1', 'default')"); if (!is_dir("../textures/")) { - if (!mkdir("../textures/")): ?> -textures 文件夹创建失败。确定你拥有该目录的写权限吗?
- +textures 文件夹创建失败。确定你拥有该目录的写权限吗?
+Blessing Skin Server 安装完成。您是否还沉浸在愉悦的安装过程中?很遗憾,一切皆已完成! :)
| 用户名 | -- |
|---|---|
| 密码 | -|
| 用户名 | ++ |
| 密码 | +