Welcome Guest, Not a member yet? Register   Sign In
How to use a $config setting in a pre_system hook [SOLVED]
#2

[eluser]wiredesignz[/eluser]
Try using the config_item() function which resides in codeigniter/Common.php and is loaded pretty early on in the bootstrap. ie:
Code:
$base_url = config_item('base_url');


Messages In This Thread
How to use a $config setting in a pre_system hook [SOLVED] - by El Forum - 01-03-2010, 04:27 AM



Theme © iAndrew 2016 - Forum software by © MyBB