{"action":"opened","issue":{"url":"https://api.github.com/repos/ci-bonfire/Bonfire/issues/1131","labels_url":"https://api.github.com/repos/ci-bonfire/Bonfire/issues/1131/labels{/name}","comments_url":"https://api.github.com/repos/ci-bonfire/Bonfire/issues/1131/comments","events_url":"https://api.github.com/repos/ci-bonfire/Bonfire/issues/1131/events","html_url":"https://github.com/ci-bonfire/Bonfire/issues/1131","id":91786908,"number":1131,"title":"modules_locations array not loaded in application.php","user":{"login":"marzsman","id":2214493,"avatar_url":"https://avatars.githubusercontent.com/u/2214493?v=3","gravatar_id":"","url":"https://api.github.com/users/marzsman","html_url":"https://github.com/marzsman","followers_url":"https://api.github.com/users/marzsman/followers","following_url":"https://api.github.com/users/marzsman/following{/other_user}","gists_url":"https://api.github.com/users/marzsman/gists{/gist_id}","starred_url":"https://api.github.com/users/marzsman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marzsman/subscriptions","organizations_url":"https://api.github.com/users/marzsman/orgs","repos_url":"https://api.github.com/users/marzsman/repos","events_url":"https://api.github.com/users/marzsman/events{/privacy}","received_events_url":"https://api.github.com/users/marzsman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-29T12:13:48Z","updated_at":"2015-06-29T12:13:48Z","closed_at":null,"body":"When I add or change a path in the modules_locations array in /config/application.php my modules aren't loaded and I get a 'Unable to load your default controller.' error.\r\nTo make it work I had to move the array to the main config.php file. \r\n\r\nIt's like the application.php file is not loaded early enough.\r\n\r\n"}}