thyseus / yii-user-management

a user management module collection for the yii framework
186 stars 122 forks source link

Problem with path route, example: Yii::import('application.modules.user #115

Closed d3artagnan closed 11 years ago

d3artagnan commented 11 years ago

A few of php files in YUM already using path from UserModule.php setting, but I still see some of the import statement still stand of its own path route,

for example in YumUserControler.php lin 3: Yii::import('application.modules.user.controllers.YumController');

this will make the module need to be adjust if moved to somewhere outside application default module folder, for example in common folder of Yii Boilerplate.

so it has to be: Yii::import('YumModule.controllers.YumController');

YumModule allready declared as path alias to YUM modul root folder in UserModule.php

d3artagnan commented 11 years ago

I guess this already on pull request