Welcome Guest, Not a member yet? Register   Sign In
Override $this->load->view()

How would one go about overriding $this->load->view()?

For example, if I wanted to rename the "views" folder to "pages"


EDIT: Got it. That'll teach me. It's in Loader.php

[eluser]GSV Sleeper Service[/eluser]
create application/libraries/MY_Loader.php, and override the necessary parts. (more details here - http://ellislab.com/codeigniter/user-gui...asses.html )

Theme © iAndrew 2016 - Forum software by © MyBB