Setting a Config Item |
As you have realized Ion auth loads config items into its own config key using this scheme
PHP Code: $this->load->config('ion_auth', TRUE); What that means is that $config['ion_auth'] will hold an array of the contents of application/config/ion_auth.php So to set the identity key this ought to work PHP Code: $config['ion_auth'] ['identity'] = 'new_value'; Or this amounts to the exact same thing only it requires more typing. PHP Code: $ion_auth_config = $this->config->item('ion_auth'); |
Messages In This Thread |
Setting a Config Item - by mla - 11-28-2016, 02:07 PM
RE: Setting a Config Item - by dave friend - 11-28-2016, 06:39 PM
RE: Setting a Config Item - by mla - 11-29-2016, 06:04 AM
RE: Setting a Config Item - by dave friend - 11-29-2016, 12:10 PM
[RESOLVED] RE: Setting a Config Item - by mla - 11-29-2016, 12:47 PM
|