33 Star 50 Fork 29

ken / Simpla

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
server.php 519 Bytes
一键复制 编辑 原始数据 按行查看 历史
卖小女孩的小火柴 提交于 2015-04-28 19:38 . V0.1.0版本发布
<?php
$uri = parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH);
$uri = urldecode($uri);
$paths = require __DIR__.'/bootstrap/paths.php';
$requested = $paths['public'].$uri;
// 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 !== '/' and file_exists($requested))
{
return false;
}
require_once $paths['public'].'/index.php';
PHP
1
https://gitee.com/ken.yang/Simpla.git
git@gitee.com:ken.yang/Simpla.git
ken.yang
Simpla
Simpla
master

搜索帮助