FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
BookStack/server.php at development · codeasashu/BookStack · GitHub
codeasashu
/
BookStack
Public
forked from
BookStackApp/BookStack
Notifications
You must be signed in to change notification settings
Fork
0
Star
1
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
BookStack
/
server.php
Copy path
More file actions
More file actions
Latest commit
History
History
History
19 lines (16 loc) · 552 Bytes
Breadcrumbs
BookStack
/
server.php
Copy path
File metadata and controls
19 lines (16 loc) · 552 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php
/**
* Laravel - A PHP Framework For Web Artisans.
*
* @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
'
;
Back
|
FazBrowse Home
|
New Git URL