Pārlūkot izejas kodu

修改伪静态

jun 2 mēneši atpakaļ
vecāks
revīzija
d2bd73fce9
2 mainītis faili ar 10 papildinājumiem un 0 dzēšanām
  1. 5 0
      public/.htaccess
  2. 5 0
      public/nginx.htaccess

+ 5 - 0
public/.htaccess

@@ -0,0 +1,5 @@
+location / {
+if (!-e $request_filename){
+rewrite ^/(.*)$ /index.php/$1 last;
+}
+}

+ 5 - 0
public/nginx.htaccess

@@ -0,0 +1,5 @@
+location / {
+if (!-e $request_filename){
+rewrite ^/(.*)$ /index.php/$1 last;
+}
+}