{"action":"opened","issue":{"url":"https://api.github.com/repos/mdmsoft/yii2-admin/issues/163","labels_url":"https://api.github.com/repos/mdmsoft/yii2-admin/issues/163/labels{/name}","comments_url":"https://api.github.com/repos/mdmsoft/yii2-admin/issues/163/comments","events_url":"https://api.github.com/repos/mdmsoft/yii2-admin/issues/163/events","html_url":"https://github.com/mdmsoft/yii2-admin/issues/163","id":74816953,"number":163,"title":"Moving Yii2 Admin to extensions folder","user":{"login":"harlangray","id":9457042,"avatar_url":"https://avatars.githubusercontent.com/u/9457042?v=3","gravatar_id":"","url":"https://api.github.com/users/harlangray","html_url":"https://github.com/harlangray","followers_url":"https://api.github.com/users/harlangray/followers","following_url":"https://api.github.com/users/harlangray/following{/other_user}","gists_url":"https://api.github.com/users/harlangray/gists{/gist_id}","starred_url":"https://api.github.com/users/harlangray/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harlangray/subscriptions","organizations_url":"https://api.github.com/users/harlangray/orgs","repos_url":"https://api.github.com/users/harlangray/repos","events_url":"https://api.github.com/users/harlangray/events{/privacy}","received_events_url":"https://api.github.com/users/harlangray/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-10T03:08:56Z","updated_at":"2015-05-10T03:08:56Z","closed_at":null,"body":"I have the need to move the module to extensions folder from vendor folder. So my module is now extensions/mdmsoft.\r\n\r\nin my config directory I add the alias  \r\n   'mdmsoft/yii2-admin' =>\r\n    array(\r\n        'name' => 'mdmsoft/yii2-admin',\r\n        'version' => '1.0.4.0',\r\n        'alias' =>\r\n        array(\r\n            '@mdm/admin' => $extensionDir . '/mdmsoft/yii2-admin',\r\n        ),\r\n    ),\r\n\r\nI have done similar thing to other modules like yii2 user module and it works.\r\n\r\nHowever in this case it doesn't work. I get the error\r\n\r\n\"Class mdm\\admin\\components\\AccessControl does not exist\"\r\n\r\nIt works well when it is in the vendor folder. But I need to move it to extensions folder to make some changes."}}