Some more work done. Mainly accounts. [skip ci]

This commit is contained in:
James Cole
2014-07-26 08:05:02 +02:00
parent 30d5b88769
commit d088b2c558
25 changed files with 932 additions and 282 deletions

View File

@@ -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;