Slug from database available on all pages through lang CodeIgniter |
You did not read my problem.
I found one solution: Created: PHP Code: public function LanguageLoader() { in MY_Controller.php and call it in the constructor: PHP Code: $this->LanguageLoader(); and delete PHP Code: $hook['post_controller_constructor'] = array( from hooks.php so now I load the language in controller`s construct not with hook. What can you tell me about this? |
Messages In This Thread |
Slug from database available on all pages through lang CodeIgniter - by sebastianvirlan - 08-14-2015, 03:13 PM
RE: Slug from database available on all pages through lang CodeIgniter - by arma7x - 08-15-2015, 03:07 AM
RE: Slug from database available on all pages through lang CodeIgniter - by sebastianvirlan - 08-15-2015, 04:35 AM
|