is there base_email() or site_email() function ? |
[eluser]runrun[/eluser]
Hi, I wonder if there is a base_email() that return the email you specified in one of the configs ? If there is no such thing, would I modify it in the HTML helper file right ?
[eluser]TheFuzzy0ne[/eluser]
No. Just add something like this to ./system/application/config/config.php: Code: $config['admin_email'] = '[email protected]'; It will be autoloaded for you for every request, you can access it by calling $this->config->item('admin_email');
[eluser]runrun[/eluser]
I haven't tested it out yet, hope it works, thank you very much. |
Welcome Guest, Not a member yet? Register Sign In |