1 Star 0 Fork 28

lizengcai / lightCMS

forked from Eddy / lightCMS 
加入 Gitee
与超过 600 万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
server.php 563 Bytes
一键复制 编辑 Web IDE 原始数据 按行查看 历史
孙建华 提交于 2019-02-25 17:24 . init
<?php
/**
* Laravel - A PHP Framework For Web Artisans
*
* @package Laravel
* @author Taylor Otwell <taylor@laravel.com>
*/
$uri = urldecode(
parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH)
);
// This file allows us to emulate Apache's "mod_rewrite" functionality from the
// built-in PHP web server. This provides a convenient way to test a Laravel
// application without having installed a "real" web server software here.
if ($uri !== '/' && file_exists(__DIR__.'/public'.$uri)) {
return false;
}
require_once __DIR__.'/public/index.php';

评论 ( 0 )

你可以在登录后,发表评论

PHP
1
https://gitee.com/lizengcai/lightCMS.git
git@gitee.com:lizengcai/lightCMS.git
lizengcai
lightCMS
lightCMS
master

搜索帮助