Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Models in Modules subfolder
  • Hi, i got the following models modules/frontend/classes/model/page.php
    namespace Frontend;
    use \Orm\Model;
    abstract class Model_Page extends Model {}
    

    and modules/frontend/classes/model/redirect.php
    namespace Frontend;
    class Model_Page_Redirect extends Model_Page {}
    

    it does not load Model_Page_Redirect, but if i put it without subfolder (and renaming) it works.
    Does anybody know where the problem could be?
  • A class called Model_Page_Redirect should be in modules/frontend/classes/model/page/redirect.php.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion