diff --git a/artisan b/artisan index 961e94d0b..4911ffc22 100644 --- a/artisan +++ b/artisan @@ -17,6 +17,17 @@ require __DIR__.'/bootstrap/autoload.php'; $app = require_once __DIR__.'/bootstrap/app.php'; + + +// !!!!! +// @todo L5 temporary code to share the Request facade +$app->bindShared('request', function(){ + return Illuminate\Http\Request::capture(); +}); +// !!!!! + + + /* |-------------------------------------------------------------------------- | Run The Artisan Application @@ -35,6 +46,8 @@ $status = $kernel->handle( new Symfony\Component\Console\Output\ConsoleOutput ); + + /* |-------------------------------------------------------------------------- | Shutdown The Application diff --git a/modules/system/providers.php b/modules/system/providers.php index 382d5b6fb..1c3e4bb73 100644 --- a/modules/system/providers.php +++ b/modules/system/providers.php @@ -42,6 +42,7 @@ return [ /* * Vendor providers */ - 'Indatus\Dispatcher\ServiceProvider', + // @todo L5 Dispatcher broken + // 'Indatus\Dispatcher\ServiceProvider', ];