Skip to content

WEBMIS is the underlying PHP development system, multi-user, development of CI model MVC multiple access scheme based on, can add background management menu, the integration of Jquery, TinyMCE editor plugin, concise, beautiful bomb box effect!

Notifications You must be signed in to change notification settings

wbaweto/webmis

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

        WebMIS是PHP底层开发系统,基于CI的MVC模式开发的多用户、多权限解决方案,可以后台添加管理菜单,整合了Jquery,tinymce编辑器等插件、实现简洁、美观的弹框效果!

官方网站:灵创网络
开源项目:WebMIS
在线体验:http://webmis.ksphp.com/admin
账户:webmis    密码:ksphp.com

一、下载
https://github.com/ksphp/webmis(点击右下角的“ZIP”图标下载)

二、安装
    文件解压到网站跟目录;

    方法一:安装向导
    访问“install”目录

    方法二:手动安装
    (1)创建数据库、导入“install”下的“webmis.sql”数据库文件;
    (2)修改数据库配置文件;
        管理后台:admin/app/config/database.php
        网站前台:web/config/database.php
    (3)修改 “/” 根目录和 “/admin” 下面的 .htaccess 文件(必须支持重写);

三、测试
    网站前台:http://localhost/web
    管理员后台:http://localhost/admin (帐号:admin 密码:admin)

四、目录说明
admin-----------------------------后台管理
        app---------------------------CI项目目录
        backup------------------------数据备份目录
        js----------------------------后台数据处理的JS文件
        .htaccess---------------------后台重写文件、屏蔽index.php
install---------------------------安装向导
public----------------------------网站前台公共目录
        css---------------------------样式目录
        images------------------------图片目录
system----------------------------CI框架目录
upload----------------------------上传目录
web-------------------------------网站前台
webmis----------------------------前端样式插件
        css---------------------------样式目录
        images------------------------图片目录
        js----------------------------JS插件
        plugin------------------------公共插件
index.php-------------------------接口文件
.htaccess-------------------------前台重写文件、屏蔽index.php

 

去除index.php的方法

一、Apache

开启重写
方法一:
[...]
    AllowOverride All #开启重写
    Require all granted
    Options Indexes FollowSymLinks #浏览目录
[...]

方法二:
> a2enmod rewrite

然后配置根目录和amin下的 .htaccess 文件

二、Nginx

location / {
    try_files $uri $uri/ /index.html;
    #Hide index.php
    if (!-e $request_filename) {
        rewrite ^/(.*) /index.php last;
    }
}

location /admin/ {
    try_files $uri $uri/ /index.html;
    #Hide index.php
    if (!-e $request_filename) {
        rewrite ^/admin/(.*) /admin/index.php last;
    }
}

注意:如果ci无法读取真实URL地址,需要配置 admin/app/config/config.php 文件,如:$config['base_url'] = 'http://www.ksphp.com/admin';

About

WEBMIS is the underlying PHP development system, multi-user, development of CI model MVC multiple access scheme based on, can add background management menu, the integration of Jquery, TinyMCE editor plugin, concise, beautiful bomb box effect!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published