From 716bb2e2c544bb2272320b59acbfc6f13b7a00d1 Mon Sep 17 00:00:00 2001 From: PPPSCN <35696959@qq.com> Date: Fri, 5 May 2017 15:12:27 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=BC=E5=AE=B9windows=E4=B8=8Bapache?= =?UTF-8?q?=E7=9A=84pathinfo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 4 +++- public/.htaccess | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 0bf2f201..64a8884d 100755 --- a/.gitignore +++ b/.gitignore @@ -5,4 +5,6 @@ composer.lock thinkphp vendor runtime -public/assets/libs/ \ No newline at end of file +public/assets/libs/ +/application/admin/command/Install/*.lock +/public/uploads diff --git a/public/.htaccess b/public/.htaccess index 0ac53ff7..864872e5 100755 --- 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 [L,E=PATH_INFO:$1]