Skip to content

Instantly share code, notes, and snippets.

@iWader
Last active January 2, 2016 22:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iWader/8369920 to your computer and use it in GitHub Desktop.
Save iWader/8369920 to your computer and use it in GitHub Desktop.
<?php
/* Redacted */
/*
|--------------------------------------------------------------------------
| Register The Auto Loader
|--------------------------------------------------------------------------
|
| Composer provides a convenient, automatically generated class loader
| for our application. We just need to utilize it! We'll require it
| into the script here so that we do not have to worry about the
| loading of any our classes "manually". Feels great to relax.
|
*/
require __DIR__.'/../private/laravel-install/bootstrap/autoload.php';
/*
|--------------------------------------------------------------------------
| Turn On The Lights
|--------------------------------------------------------------------------
|
| We need to illuminate PHP development, so let's turn on the lights.
| This bootstraps the framework and gets it ready for use, then it
| will load up this application so that we can run it and send
| the responses back to the browser and delight these users.
|
*/
$app = require_once __DIR__.'/../private/laravel-install/bootstrap/start.php';
/* Redacted */
location / {
index index.php;
if ( !-f $request_filename )
{
rewrite ^ /index.php last;
break;
}
}
<?php
return array(
/* Redacted */
/*
|--------------------------------------------------------------------------
| Public Path
|--------------------------------------------------------------------------
|
| The public path contains the assets for your web application, such as
| your JavaScript and CSS files, and also contains the primary entry
| point for web requests into these applications from the outside.
|
*/
'public' => __DIR__.'/../../../web',
/* Redacted */
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment