Details |
Letzte Änderung |
Log anzeigen
| RSS feed
| Revision |
Autor |
Zeilennr. |
Zeile |
| 148 |
lars |
1 |
<?php
|
|
|
2 |
|
|
|
3 |
$publicPath = getcwd();
|
|
|
4 |
|
|
|
5 |
$uri = urldecode(
|
|
|
6 |
parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH) ?? ''
|
|
|
7 |
);
|
|
|
8 |
|
|
|
9 |
// This file allows us to emulate Apache's "mod_rewrite" functionality from the
|
|
|
10 |
// built-in PHP web server. This provides a convenient way to test a Laravel
|
|
|
11 |
// application without having installed a "real" web server software here.
|
|
|
12 |
if ($uri !== '/' && file_exists($publicPath.$uri)) {
|
|
|
13 |
return false;
|
|
|
14 |
}
|
|
|
15 |
|
|
|
16 |
require_once $publicPath.'/index.php';
|