Explorar o código

修改伪静态

jun hai 2 meses
pai
achega
d2bd73fce9
Modificáronse 2 ficheiros con 10 adicións e 0 borrados
  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;
+}
+}