close #11, close #10

This commit is contained in:
Sander Dorigo
2014-10-05 08:27:49 +02:00
parent b3209d3b4d
commit ec601efa6e
7 changed files with 36 additions and 10 deletions

View File

@@ -37,12 +37,11 @@ $app = new Illuminate\Foundation\Application;
|
*/
$env = $app->detectEnvironment(
function () {
// Default to production if LARAVEL_ENV is not set
return getenv('LARAVEL_ENV') ? : 'production';
}
);
$env = $app->detectEnvironment(array(
'local' => array('homestead', 'SMJD*'),
));
/*
@@ -70,7 +69,7 @@ $app->bindInstallPaths(require __DIR__ . '/paths.php');
*/
$framework = $app['path.base'] .
'/vendor/laravel/framework/src';
'/vendor/laravel/framework/src';
require $framework . '/Illuminate/Foundation/start.php';