ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Calling a Controller from a hook in CI 3

July 21, 2014 6:12am

Subscribe [1]
  • #1 / Jul 21, 2014 6:12am

    Patroklo

    18 posts

    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 / Jul 31, 2014 7:41am

    Narf

    155 posts

    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.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases