Update skinning with more flexible theme module

This commit is contained in:
Nabeel Shahzad
2018-03-11 18:00:42 -05:00
parent 03c15473b9
commit f05e37767f
50 changed files with 216 additions and 80 deletions

View File

@@ -2,6 +2,7 @@
namespace App\Providers;
use App\Repositories\SettingRepository;
use App\Services\ModuleService;
use Illuminate\Support\Facades\Schema;
use Illuminate\Support\ServiceProvider;
use View;
@@ -13,7 +14,7 @@ class AppServiceProvider extends ServiceProvider
Schema::defaultStringLength(191);
$this->app->bind('setting', SettingRepository::class);
View::share('SKIN_NAME', config('phpvms.skin'));
View::share('moduleSvc', app(ModuleService::class));
}
/**