Giter Club home page Giter Club logo

webmis's Introduction

        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';

webmis's People

Contributors

klingsoul avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.