1 Star 0 Fork 12

Anonymous2183 / LightMvc

forked from Yc Chan / LightMvc 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
index.php 974 Bytes
一键复制 编辑 原始数据 按行查看 历史
ycchen 提交于 2015-06-26 12:43 . No commit message
<?php
/**
* Desc
* @description Holp You Do Good But Not Evil
* @copyright Copyright 2014-2015 <ycchen@iwshop.cn>
* @license LGPL (http://www.gnu.org/licenses/lgpl.html)
* @author Chenyong Cai <ycchen@iwshop.cn>
* @package Wshop
* @link http://www.iwshop.cn
*/
date_default_timezone_set('PRC');
ini_set('display_errors', 'On');
error_reporting(E_ALL & ~E_DEPRECATED & ~E_NOTICE & ~E_WARNING);
header("Content-type:text/html;charset=utf-8");
// Config
require_once 'config/config.php';
// ClassLoader
require_once 'lib/ClassLoader.php';
// App
require_once 'system/App.php';
// Contoller
require_once 'system/Controller.php';
// Model
require_once 'system/Model.php';
// Smarty
require_once 'lib/Smarty/Smarty.class.php';
$App = App::getInstance();
// @see URL /?/Controller/Action/@queryString
// @see https://www.processon.com/diagraming/54d9e613e4b0105cbf1b0ab0
$App->parseRequest();
1
https://gitee.com/anonymous2183/LightMvc.git
git@gitee.com:anonymous2183/LightMvc.git
anonymous2183
LightMvc
LightMvc
master

搜索帮助