mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Some more work done. Mainly accounts. [skip ci]
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
*/
|
||||
|
||||
|
||||
|
||||
if (!function_exists('mf')) {
|
||||
function mf($n, $coloured = true)
|
||||
{
|
||||
@@ -35,6 +36,8 @@ if (!function_exists('mf')) {
|
||||
|
||||
$app = new Illuminate\Foundation\Application;
|
||||
|
||||
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Detect The Application Environment
|
||||
@@ -83,6 +86,8 @@ $framework = $app['path.base'] .
|
||||
|
||||
require $framework . '/Illuminate/Foundation/start.php';
|
||||
|
||||
Event::subscribe('Firefly\Helper\Form\FormTrigger');
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Return The Application
|
||||
@@ -97,5 +102,11 @@ require $framework . '/Illuminate/Foundation/start.php';
|
||||
// do something with events:
|
||||
Event::subscribe('Firefly\Trigger\Limits\EloquentLimitTrigger');
|
||||
|
||||
App::booted(function() {
|
||||
$forms = new \Firefly\Helper\Form\FormTrigger;
|
||||
$forms->registerFormExtensions();
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
return $app;
|
||||
|
Reference in New Issue
Block a user