mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-15 08:35:00 +00:00
Moved to hidden "stash" directory.
This commit is contained in:
19
server.php
19
server.php
@@ -1,19 +0,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 !== '/' && file_exists($requested))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
require_once $paths['public'].'/index.php';
|
Reference in New Issue
Block a user