From 92eb8143762e116e8959f6270271fd5540ca50ac Mon Sep 17 00:00:00 2001 From: horus_arch Date: Wed, 7 Feb 2018 18:07:53 +0100 Subject: Adds basic site in laravel. --- site/artisan | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100755 site/artisan (limited to 'site/artisan') diff --git a/site/artisan b/site/artisan new file mode 100755 index 0000000..5c23e2e --- /dev/null +++ b/site/artisan @@ -0,0 +1,53 @@ +#!/usr/bin/env php +make(Illuminate\Contracts\Console\Kernel::class); + +$status = $kernel->handle( + $input = new Symfony\Component\Console\Input\ArgvInput, + new Symfony\Component\Console\Output\ConsoleOutput +); + +/* +|-------------------------------------------------------------------------- +| Shutdown The Application +|-------------------------------------------------------------------------- +| +| Once Artisan has finished running, we will fire off the shutdown events +| so that any final work may be done by the application before we shut +| down the process. This is the last thing to happen to the request. +| +*/ + +$kernel->terminate($input, $status); + +exit($status); -- cgit v1.2.3