mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-18 04:19:12 +00:00
This will be the first release!
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user