Help me about CI + DM and HMVC |
[eluser]Unknown[/eluser]
Hi all, I have a problem with my project using CI 2.1.3 + DM ORM 1.8.2.1 and HMVC 5.4 at https://bitbucket.org/wiredesignz/codeig...sions-hmvc In the module "welcome" (application\modules\welcome) has 3 folders: controllers, models, views. The user_model.php file content in application\modules\welcome\models folder: Code: <?php if(!defined('BASEPATH')) exit('No direct script access allowed'); The welcome.php file content in application\modules\welcome\controllers folder: Code: <?php if(!defined('BASEPATH')) exit('No direct script access allowed'); I know that DM did not find path-to-the model folder in example above but I don't know how to setup it in my contronller and model. I have visited http://ellislab.com/forums/viewthread/178045/P15 but I still don't understand. Can you help detail about it? Thanks in advance.
[eluser]Unknown[/eluser]
OK, I get it. I was stupid when I did not load datamapper library first. :-P |
Welcome Guest, Not a member yet? Register Sign In |