refactored application.

This commit is contained in:
Qiang Xue
2013-04-10 10:48:27 -04:00
parent 55e8db9b97
commit 4c2fcd7608
4 changed files with 44 additions and 38 deletions

View File

@@ -170,7 +170,6 @@ abstract class Module extends Component
*/
public function init()
{
Yii::setAlias('@' . $this->id, $this->getBasePath());
$this->preloadComponents();
}