FEATURE: add service provider for generating module.json

This commit is contained in:
Michal Kváček
2016-03-14 10:11:15 +01:00
parent f9562d55aa
commit b707d27c3f
3 changed files with 64 additions and 3 deletions
+3 -2
View File
@@ -97,8 +97,7 @@ return [
*/
'upload_url' => env('UPLOAD_URL', PHP_SAPI === 'cli' ? '' : url('uploads')),
'thumbnail_url' => env('THUMBNAIL_URL', PHP_SAPI === 'cli' ? '' : url('uploads/thumbnails')),
'theme' => 'default_theme',
'theme' => 'default_theme',
/*
|--------------------------------------------------------------------------
| Logging Configuration
@@ -150,6 +149,8 @@ return [
Illuminate\Translation\TranslationServiceProvider::class,
Illuminate\Validation\ValidationServiceProvider::class,
Illuminate\View\ViewServiceProvider::class,
// this class must be before ModulesServiceProvider from PingPong, because it handles files module.json
App\Providers\ModuleManager::class,
Pingpong\Modules\ModulesServiceProvider::class,
Pingpong\Menus\MenusServiceProvider::class,
/*