• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
URI Class

[eluser]omed habib[/eluser]
How do I use the following method:


In the config file? When I try to use it I get the following error message:

Fatal error: Using $this when not in object context in /opt/local/apache2/htdocs/silvercreditapp_com/system/application/config/config.php on line 16

Any ideas?

Use it in the controller or the view.


[eluser]omed habib[/eluser]
There is no way to retrieve the controller from the current URL in the config file?

[eluser]Michael Wales[/eluser]
Why would you want to? I can't think of a single setting within the config file where it would prove useful.

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

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