Explorar el Código

修改伪静态

jun hace 2 meses
padre
commit
d2bd73fce9
Se han modificado 2 ficheros con 10 adiciones y 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;
+}
+}