dev-master
9999999-devThe Webmis Project
MIT
The Requires
- webmiss/framework ^1.0
- php >=7.1.3
by webmis
v1.0.0
1.0.0.0The Webmis Project
MIT
The Requires
- php ^5.4 || ^7.0
- webmiss/framework ^1.0
by webmis
The Webmis Project
WebMIS是轻量级、高性能、面向对象的HMVC框架!
Home: http://mvc.webmis.vip/
Admin: http://mvc.webmis.vip/admin/
uanme: admin passwd: admin, (*1)
``` bash composer create-project webmiss/webmis mvc, (*2)
### 2) 导入数据库 ``` bash public/db/mvc.sql
``` bash composer update, (*3)
# 美化URL ### 1) Apache(public/.htaccess) ```bash # 编码 AddDefaultCharset UTF-8 <IfModule mod_rewrite.c> # 重写 RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.php?_url=/$1 [QSA,L] </IfModule>
listen 80; server_name mvc.webmis.cn; set $root_path '/home/www/mvc/public/'; root $root_path; index index.php index.html; try_files $uri $uri/ @rewrite; location @rewrite { rewrite ^/(.*)$ /index.php?_url=/$1; } location ~* ^/(webmis|upload|themes|favicon.png)/(.+)$ { root $root_path; }
Home: http://localhost/ Admin: http://localhost/admin/Index/index
The Webmis Project
MIT
The Webmis Project
MIT