1 Star 0 Fork 1

awei / laravel-backend

forked from Eric / laravel-backend 
加入 Gitee
与超过 600 万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
server.php 563 Bytes
一键复制 编辑 Web IDE 原始数据 按行查看 历史
Eric 提交于 2021-05-03 18:21 . [+] 初始化
<?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/aweiman/laravel-backend.git
git@gitee.com:aweiman/laravel-backend.git
aweiman
laravel-backend
laravel-backend
master

搜索帮助