update Laravel 5
This commit is contained in:
SRC
.bash_history.env.example.gitignoreCONTRIBUTING.mdartisanserver.php
app
Commands
Console
Events
Exceptions
Handlers
Http
Providers
AppServiceProvider.phpBusServiceProvider.phpConfigServiceProvider.phpEventServiceProvider.phpRouteServiceProvider.php
Services
User.phpconfig
controllers
filters.phpmodels
start
storage
tests
views
bootstrap
composer.jsoncomposer.lockconfig
app.phpauth.phpcache.phpcompile.phpdatabase.phpfilesystems.phpmail.phpqueue.phpservices.phpsession.phpview.php
database
gulpfile.jspackage.jsonphpspec.ymlphpunit.xmlpublic
readme.mdresources
assets
less
app.less
bootstrap
alerts.lessbadges.lessbootstrap.lessbreadcrumbs.lessbutton-groups.lessbuttons.lesscarousel.lessclose.lesscode.lesscomponent-animations.lessdropdowns.lessforms.lessglyphicons.lessgrid.lessinput-groups.lessjumbotron.lesslabels.lesslist-group.lessmedia.lessmixins.less
mixins
alerts.lessbackground-variant.lessborder-radius.lessbuttons.lesscenter-block.lessclearfix.lessforms.lessgradients.lessgrid-framework.lessgrid.lesshide-text.lessimage.lesslabels.lesslist-group.lessnav-divider.lessnav-vertical-align.lessopacity.lesspagination.lesspanels.lessprogress-bar.lessreset-filter.lessresize.lessresponsive-visibility.lesssize.lesstab-focus.lesstable-row.lesstext-emphasis.lesstext-overflow.lessvendor-prefixes.less
modals.lessnavbar.lessnavs.lessnormalize.lesspager.lesspagination.lesspanels.lesspopovers.lessprint.lessprogress-bars.lessresponsive-embed.lessresponsive-utilities.lessscaffolding.lesstables.lesstheme.lessthumbnails.lesstooltip.lesstype.lessutilities.lessvariables.lesswells.lesslang
views
storage
tests
39
SRC/artisan
Normal file → Executable file
39
SRC/artisan
Normal file → Executable file
@ -15,35 +15,7 @@
|
||||
|
||||
require __DIR__.'/bootstrap/autoload.php';
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Turn On The Lights
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| We need to illuminate PHP development, so let's turn on the lights.
|
||||
| This bootstraps the framework and gets it ready for and then it
|
||||
| will load up this application so that we can run it and send
|
||||
| the responses back to the browser and delight these users.
|
||||
|
|
||||
*/
|
||||
|
||||
$app = require_once __DIR__.'/bootstrap/start.php';
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Load The Artisan Console Application
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| We'll need to run the script to load and return the Artisan console
|
||||
| application. We keep this in its own script so that we will load
|
||||
| the console application independent of running commands which
|
||||
| will allow us to fire commands from Routes when we want to.
|
||||
|
|
||||
*/
|
||||
|
||||
$app->setRequestForConsoleEnvironment();
|
||||
|
||||
$artisan = Illuminate\Console\Application::start($app);
|
||||
$app = require_once __DIR__.'/bootstrap/app.php';
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
@ -56,7 +28,12 @@ $artisan = Illuminate\Console\Application::start($app);
|
||||
|
|
||||
*/
|
||||
|
||||
$status = $artisan->run();
|
||||
$kernel = $app->make('Illuminate\Contracts\Console\Kernel');
|
||||
|
||||
$status = $kernel->handle(
|
||||
$input = new Symfony\Component\Console\Input\ArgvInput,
|
||||
new Symfony\Component\Console\Output\ConsoleOutput
|
||||
);
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
@ -69,6 +46,6 @@ $status = $artisan->run();
|
||||
|
|
||||
*/
|
||||
|
||||
$app->shutdown();
|
||||
$kernel->terminate($input, $status);
|
||||
|
||||
exit($status);
|
||||
|
Reference in New Issue
Block a user