Add proper bootstrap for kernels for web and console app.
This commit is contained in:
committed by
davidcallizaya
parent
0ccae19bd4
commit
de1346aa96
@@ -1,8 +1,12 @@
|
||||
<?php
|
||||
use Illuminate\Foundation\Http\Kernel;
|
||||
|
||||
// Because laravel has a __ helper function, it's important we include the class.g file to ensure our __ is used.
|
||||
require_once __DIR__.'/../../gulliver/system/class.g.php';
|
||||
require_once __DIR__.'/../../bootstrap/autoload.php';
|
||||
require_once __DIR__.'/../../bootstrap/app.php';
|
||||
$app->make(Kernel::class)->bootstrap();
|
||||
|
||||
|
||||
register_shutdown_function(
|
||||
create_function(
|
||||
|
||||
Reference in New Issue
Block a user