1 Star 0 Fork 23

龙人 / Mamba Blog

forked from Mamba / Mamba Blog 
Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
Clone or download
server.php 567 Bytes
Copy Edit Web IDE Raw Blame History
陈冠明 authored 2017-12-09 11:51 . [day1]
<?php
/**
* Laravel - A PHP Framework For Web Artisans
*
* @package Laravel
* @author Taylor Otwell <taylorotwell@gmail.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';

Comment ( 0 )

Sign in for post a comment

PHP
1
https://gitee.com/long_ren/Mamba-Blog.git
git@gitee.com:long_ren/Mamba-Blog.git
long_ren
Mamba-Blog
Mamba Blog
master

Search