Skip to content

Commit

Permalink
Load classloaded when running in console
Browse files Browse the repository at this point in the history
  • Loading branch information
sampoyigi committed Oct 30, 2017
1 parent ba6d1d7 commit bd3824c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions artisan
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#!/usr/bin/env php
<?php

define('LARAVEL_START', microtime(true));

/*
|--------------------------------------------------------------------------
| Register The Auto TemplateLoader
Expand All @@ -15,7 +13,7 @@ define('LARAVEL_START', microtime(true));
|
*/

require __DIR__.'/vendor/autoload.php';
require __DIR__.'/bootstrap/autoload.php';

$app = require_once __DIR__.'/bootstrap/app.php';

Expand Down
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

/*
|--------------------------------------------------------------------------
| Register The Auto TemplateLoader
| Register The Auto ClassLoader
|--------------------------------------------------------------------------
|
| Composer provides a convenient, automatically generated class loader for
Expand Down

0 comments on commit bd3824c

Please sign in to comment.