Created
June 16, 2020 00:12
-
-
Save blogcacanid/43879ff190447ee3e95ade7b3494e1c3 to your computer and use it in GitHub Desktop.
app.php Back End Product Lumen 7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// kira2 ada di baris ke 26 dan 28 | |
$app->withFacades(); | |
$app->withEloquent(); | |
// kira2 ada di baris ke 94, 95 dan 96 | |
$app->register(App\Providers\AppServiceProvider::class); | |
$app->register(App\Providers\AuthServiceProvider::class); | |
$app->register(App\Providers\EventServiceProvider::class); | |
// tambahkan script berikut sebelum baris return $app, kira2 ada di baris ke 115 | |
if ($app->environment() !== 'production') | |
{ | |
$app->register(Flipbox\LumenGenerator\LumenGeneratorServiceProvider::class); | |
} | |
return $app; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment