• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.