// This will get which db connection is set to 'active' in the db config $active_db = Config::get('db.active');my code looks like this but i am getting nothing retruned
$roles = Config::get('simpleauth.roles'); print_r($roles)
\Config::load('simpleauth', true);This happens automatically when you load the simpleauth driver. If you do it manually, make sure the auth package is loaded.
Config::load('simpleauth'); $var = Config::get('simpleauth.roles'); echo "<pre>"; print_r($var); echo "</pre>";
$var = Config::load('simpleauth');
\Config::load('simpleauth');and
\Config::load('simpleauth', true);
$roles = \Config::get('roles');in the second case with
$roles = \Config::get('simpleauth.roles');
It looks like you're new here. If you want to get involved, click one of these buttons!