PNG  IHDR;IDATxܻn0K )(pA 7LeG{ §㻢|ذaÆ 6lذaÆ 6lذaÆ 6lom$^yذag5bÆ 6lذaÆ 6lذa{ 6lذaÆ `}HFkm,mӪôô! x|'ܢ˟;E:9&ᶒ}{v]n&6 h_tڠ͵-ҫZ;Z$.Pkž)!o>}leQfJTu іچ\X=8Rن4`Vwl>nG^is"ms$ui?wbs[m6K4O.4%/bC%t Mז -lG6mrz2s%9s@-k9=)kB5\+͂Zsٲ Rn~GRC wIcIn7jJhۛNCS|j08yiHKֶۛkɈ+;SzL/F*\Ԕ#"5m2[S=gnaPeғL lذaÆ 6l^ḵaÆ 6lذaÆ 6lذa; _ذaÆ 6lذaÆ 6lذaÆ RIENDB` loadRoutesFrom(__DIR__ . '/routes.php'); } } /** * If load_migrations config is true (by default it is), * then load the package migrations, otherwise don't load * the migrations. */ protected function loadMigrations() { if (Config::get('comments.load_migrations') === true) { $this->loadMigrationsFrom(__DIR__ . '/../migrations'); } } /** * If for some reason you want to override the component. */ protected function includeBladeComponent() { Blade::include('comments::components.comments', 'comments'); } /** * Define permission defined in the config. */ protected function definePermissions() { foreach(Config::get('comments.permissions', []) as $permission => $policy) { Gate::define($permission, $policy); } } public function boot() { $this->loadRoutes(); $this->loadMigrations(); $this->loadViewsFrom(__DIR__ . '/../resources/views', 'comments'); $this->loadTranslationsFrom(__DIR__ . '/../resources/lang', 'comments'); $this->includeBladeComponent(); $this->definePermissions(); $this->publishes([ __DIR__.'/../migrations/' => App::databasePath('migrations') ], 'migrations'); $this->publishes([ __DIR__ . '/../resources/views' => App::resourcePath('views/vendor/comments'), ], 'views'); $this->publishes([ __DIR__ . '/../config/comments.php' => App::configPath('comments.php'), ], 'config'); $this->publishes([ __DIR__ . '/../resources/lang' => App::resourcePath('lang/vendor/comments'), ], 'translations'); Route::model('comment', Config::get('comments.model')); Paginator::useBootstrap(); } public function register() { $this->mergeConfigFrom( __DIR__ . '/../config/comments.php', 'comments' ); } }