4 Star 19 Fork 4

huming17 / DZMVC 1.0 DWZ Example

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
index.php 920 Bytes
一键复制 编辑 原始数据 按行查看 历史
<?php
if(!file_exists('./config/config_global.php')){
header('location: install/index.php');
}
/**
* 系统入口文件
* @author HumingXu E-mail:huming17@126.com
*/
require_once './dz_framework/init.php';
//DEBUG 基于URL用户权限校验 暂放入口页面 具体根据实际业务逻辑使用
//ext::auth_check();
//DEBUG 接收对象 动作
//$obj=isset($_REQUEST['obj']) ? $_REQUEST['obj']:'index'; //DEBUG 备用对象入口参数
$mod=isset($_REQUEST['mod']) ? $_REQUEST['mod']:'index'; //DEBUG 对应 source/module 下文件夹名
$action=isset($_REQUEST['action']) ? $_REQUEST['action']:'index'; //DEBUG 对应 source/module/{$mod}_{$action}.php 文件名
$do=isset($_REQUEST['do']) ? $_REQUEST['do']:''; //DEBUG 对应 source/module/{$mod}_{$action}.php 文件内动作 (其他参数可在各入口模块内接收)
//DEBUG 转发执行 对象动作
require libfile($mod.'/'.$action, 'module','..');
PHP
1
https://gitee.com/huming17/DZMVC-1.0-DWZ-Example.git
git@gitee.com:huming17/DZMVC-1.0-DWZ-Example.git
huming17
DZMVC-1.0-DWZ-Example
DZMVC 1.0 DWZ Example
master

搜索帮助