diff --git a/.htaccess b/.htaccess new file mode 100644 index 00000000..286a7267 --- /dev/null +++ b/.htaccess @@ -0,0 +1,10 @@ +RewriteEngine +on + +#不显示index.php + +RewriteCond %{REQUEST_FILENAME} +!-d +RewriteCond %{REQUEST_FILENAME} !-f +RewriteRule ^(.*)$ index.php/$1 +[QSA,PT,L] \ No newline at end of file