1 Star 0 Fork 560

碎碎的时光/YZNCMS

forked from 御宅男工作室/YZNCMS 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
router.php 840 Bytes
一键复制 编辑 原始数据 按行查看 历史
御宅男(YznCMS官方) 提交于 2017-12-12 17:09 . 更新TINKPHP5.0.13
<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2016 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
// $Id$
if (is_file($_SERVER["DOCUMENT_ROOT"] . $_SERVER["SCRIPT_NAME"])) {
return false;
} else {
if (!isset($_SERVER['PATH_INFO'])) {
$_SERVER['PATH_INFO'] = $_SERVER['REQUEST_URI'];
}
require __DIR__ . "/index.php";
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/NetKing/YZNCMS.git
git@gitee.com:NetKing/YZNCMS.git
NetKing
YZNCMS
YZNCMS
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385