URI Class |
[eluser]omed habib[/eluser]
How do I use the following method: Code: $this->uri->segment(1) 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?
[eluser]BravoAlpha[/eluser]
Use it in the controller or the view. http://ellislab.com/codeigniter/user-gui...s/uri.html
[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. |
Welcome Guest, Not a member yet? Register Sign In |