Welcome Guest, Not a member yet? Register   Sign In
How to inspect/access config values specified in config/email.php?
#7

Thanks for your responses.

(03-31-2015, 05:12 PM)ivantcholakov Wrote: $email_config = $this->config->load('email', true, true);
In this case, $email_config would be a boolean TRUE if a config file was found and loaded and FALSE if no email config was found/loaded.

(03-31-2015, 06:28 PM)RobertSF Wrote:
PHP Code:
$this->config->load('email'truetrue);
$email_vars $this->config->item('email');
echo 
$email_vars['protocol']; 
This does work, although it is a bit verbose just to get a config value.
Reply


Messages In This Thread
RE: How to inspect/access config values specified in config/email.php? - by sneakyimp - 04-01-2015, 09:08 AM



Theme © iAndrew 2016 - Forum software by © MyBB