vendredi 26 janvier 2018

Change Socialite variable in Services.php with config file

i have created a config file to keep all my variables and to be able to change them dynamically. I added Socialite variable to services.php.. Socialite works if i put the variables manually. Unfortunately it doesn't work when i use my config

'google' => [
    'client_id' => config('settings.cnf_googleloginid'),
    'client_secret' => config('settings.cnf_googleloginsecret'),
    'redirect' => url('/user/google'),
],

.. What is the best way to call settings variables to services.php

thanks



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2GlCd80
via IFTTT

Aucun commentaire:

Enregistrer un commentaire