app/Http/Controllers/Auth/LoginController.php
/**
     * =================================================================
     * load settiong values and put it in a session
     * =================================================================.
     *
     * @return void
     */
load settiong values and put it in a session
.

@return void
load settiong values and put it in a session . @return void
public function loadSettings()
    {
        $settings = Setting::all();
        foreach ($settings as $key => $setting) {
            Session::put($setting->name, $setting->content);
        }
    }
public function loadSettings ( ) { $ settings = Setting :: all ( ) ; foreach ( $ settings as $ key => $ setting ) { Session :: put ( $ setting -> name , $ setting -> content ) ; } }
load settiong values and put it in a session
 =================================================================.
load settiong values and put it in a session ================================================================= .