OwlCyberSecurity - MANAGER
Edit File: DisqusServiceProvider.php
<?php namespace Yajra\Disqus; use Illuminate\Contracts\Http\Kernel; use Illuminate\Support\ServiceProvider; class DisqusServiceProvider extends ServiceProvider { /** * Bootstrap any application services. * * @return void */ public function boot() { $this->publishConfig(); $this->registerMiddleware(); } /** * Register and publish the config. */ protected function publishConfig() { $path = __DIR__.'/../config/disqus.php'; $this->mergeConfigFrom($path, 'disqus'); $this->publishes([ $path => config_path('disqus.php'), ], 'disqus'); } /** * Register disqus middleware. */ protected function registerMiddleware() { $this->app[Kernel::class]->pushMiddleware( DisqusMiddleware::class ); } /** * Register any application services. * * @return void */ public function register() { // } }