This will be the first release!

This commit is contained in:
James Cole
2014-08-28 07:53:54 +02:00
parent c7f070a2d1
commit c4f42a604f
75 changed files with 1043 additions and 618 deletions

View File

@@ -11,14 +11,16 @@
|
*/
ClassLoader::addDirectories(array(
ClassLoader::addDirectories(
array(
app_path().'/commands',
app_path().'/controllers',
app_path().'/models',
app_path().'/database/seeds',
app_path() . '/commands',
app_path() . '/controllers',
app_path() . '/models',
app_path() . '/database/seeds',
));
)
);
/*
|--------------------------------------------------------------------------
@@ -31,7 +33,7 @@ ClassLoader::addDirectories(array(
|
*/
Log::useFiles(storage_path().'/logs/laravel.log');
Log::useFiles(storage_path() . '/logs/laravel.log');
/*
|--------------------------------------------------------------------------
@@ -46,10 +48,11 @@ Log::useFiles(storage_path().'/logs/laravel.log');
|
*/
App::error(function(Exception $exception, $code)
{
Log::error($exception);
});
App::error(
function (Exception $exception, $code) {
Log::error($exception);
}
);
/*
|--------------------------------------------------------------------------
@@ -62,10 +65,11 @@ App::error(function(Exception $exception, $code)
|
*/
App::down(function()
{
return Response::make("Be right back!", 503);
});
App::down(
function () {
return Response::make("Be right back!", 503);
}
);
/*
|--------------------------------------------------------------------------
@@ -78,4 +82,4 @@ App::down(function()
|
*/
require app_path().'/filters.php';
require app_path() . '/filters.php';