[eluser]gunnarflax[/eluser]
Hi everybody!
I'm looking for a way to set the url suffix during runtime. In my CMS the user gets the option to use "Pretty URLs" and the setting is stored in a database.
I can't use hooks since they can't be defined when the controller is reached in the execution order. If I set:
Code:
$this->config->set_item('url_suffix', 'html');
It doesn't show up in the URL since the controller has already been executed. Any suggestions? Will it be enough to change the value in the URI-class object or must I change the value in a whole bunch of instances?