public function config()
    {
        // Publish Config
        $this->publishes([
            __DIR__ . '/../config/laravel-forum.php' => config_path('laravel-forum.php'),
        ], 'config');

        $this->mergeConfigFrom(
            __DIR__ . '/../config/laravel-forum.php',
            'laravel-forum'
        );

        // Merge default Config
        $published = __DIR__.'/../../../../config/laravel-forum.php';
        if (file_exists($published)) {
            $this->mergeConfigFrom(
                $published,
                'laravel-forum'
            );
        }
    }
public function config()
    {
        // Publish Config
        $this->publishes([
            __DIR__ . '/../config/laravel-forum.php' => config_path('laravel-forum.php'),
        ], 'config');

        $this->mergeConfigFrom(
            __DIR__ . '/../config/laravel-forum.php',
            'laravel-forum'
        );

        // Merge default Config
        $published = __DIR__.'/../../../../config/laravel-forum.php';
        if (file_exists($published)) {
            $this->mergeConfigFrom(
                $published,
                'laravel-forum'
            );
        }
    }
public function config ( ) { // Publish Config $ this -> publishes ( [ __DIR__ . '/../config/laravel-forum.php' => config_path ( 'laravel-forum.php' ) , ] , 'config' ) ; $ this -> mergeConfigFrom ( __DIR__ . '/../config/laravel-forum.php' , 'laravel-forum' ) ; // Merge default Config $ published = __DIR__ . '/../../../../config/laravel-forum.php' ; if ( file_exists ( $ published ) ) { $ this -> mergeConfigFrom ( $ published , 'laravel-forum' ) ; } }
Register the config and merge any published config.
Register the config and merge any published config .