Welcome Guest, Not a member yet? Register   Sign In
Calling a Controller from a hook in CI 3
#1

[eluser]Patroklo[/eluser]
Hi! I am having some issues about loading a controller with a hook. All the autoloaded classes seem to fail with messages like: "Unable to locate the specified class: Session.php". In codeigniter 2.X i didn't have this issue (and I think that in that version all the files where loaded twice, once each time a controller was made). Is there a way to make those calls in codeigniter 3?
#2

[eluser]Narf[/eluser]
You're not supposed to do that. Not even in CI 2.x ... if you somehow made it without breaking the app, you've been quite lucky.




Theme © iAndrew 2016 - Forum software by © MyBB