From bc8b2638e91438bdb554b61846b74f93423e6f56 Mon Sep 17 00:00:00 2001 From: xiaoz Date: Tue, 10 Dec 2024 10:40:01 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E7=BD=AE=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.simple.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/config.simple.php b/config.simple.php index 19684a0..0ff6d14 100755 --- a/config.simple.php +++ b/config.simple.php @@ -9,12 +9,10 @@ $db = new medoo([ //用户名 define('USER','{username}'); -//密码 -define('PASSWORD','{password}'); +// 加密后的密码 +define('ENCRYPTED_PASSWORD','{encrypted_password}'); //邮箱,用于后台Gravatar头像显示 define('EMAIL','{email}'); -//token参数,API需要使用,0.9.19版本这个废弃了,请通过后台设置 -define('TOKEN','xiaoz.me'); //主题风格,0.9.18废弃了,请通过后台设置 define('TEMPLATE','default'); @@ -31,4 +29,4 @@ $site_setting['description'] = 'OneNav是一款使用PHP + SQLite3开发的 //这两项不要修改 $site_setting['user'] = USER; -$site_setting['password'] = PASSWORD; \ No newline at end of file +$site_setting['password'] = ENCRYPTED_PASSWORD; \ No newline at end of file