From 92910252129d8fe219cde0fd916b687af70f3716 Mon Sep 17 00:00:00 2001 From: cxdbz Date: Fri, 4 Oct 2019 14:37:10 +0800 Subject: [PATCH] 0 --- config/database.php | 4 ++-- public/.htaccess | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config/database.php b/config/database.php index 1cba7d7a..b558421f 100644 --- a/config/database.php +++ b/config/database.php @@ -17,9 +17,9 @@ return [ // 数据库名 'database' => 'chengji', // 用户名 - 'username' => 'jkp', + 'username' => 'root', // 密码 - 'password' => '123456', + 'password' => '', // 端口 'hostport' => '', // 连接dsn diff --git a/public/.htaccess b/public/.htaccess index d9ee23c9..cbc78689 100644 --- a/public/.htaccess +++ b/public/.htaccess @@ -4,5 +4,5 @@ RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f - RewriteRule ^(.*)$ index.php?/$1 [QSA,PT,L] + RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]