develop
Last change
on this file since ea7b12a was 2fc88ec, checked in by beratkjufliju <kufliju@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
563 bytes
|
Rev | Line | |
---|
[2fc88ec] | 1 | <?php
|
---|
| 2 |
|
---|
| 3 | /**
|
---|
| 4 | * Laravel - A PHP Framework For Web Artisans
|
---|
| 5 | *
|
---|
| 6 | * @package Laravel
|
---|
| 7 | * @author Taylor Otwell <taylor@laravel.com>
|
---|
| 8 | */
|
---|
| 9 |
|
---|
| 10 | $uri = urldecode(
|
---|
| 11 | parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH)
|
---|
| 12 | );
|
---|
| 13 |
|
---|
| 14 | // This file allows us to emulate Apache's "mod_rewrite" functionality from the
|
---|
| 15 | // built-in PHP web server. This provides a convenient way to test a Laravel
|
---|
| 16 | // application without having installed a "real" web server software here.
|
---|
| 17 | if ($uri !== '/' && file_exists(__DIR__.'/public'.$uri)) {
|
---|
| 18 | return false;
|
---|
| 19 | }
|
---|
| 20 |
|
---|
| 21 | require_once __DIR__.'/public/index.php';
|
---|
Note:
See
TracBrowser
for help on using the repository browser.