{"action":"created","issue":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/8721","labels_url":"https://api.github.com/repos/joomla/joomla-cms/issues/8721/labels{/name}","comments_url":"https://api.github.com/repos/joomla/joomla-cms/issues/8721/comments","events_url":"https://api.github.com/repos/joomla/joomla-cms/issues/8721/events","html_url":"https://github.com/joomla/joomla-cms/pull/8721","id":122698974,"number":8721,"title":"Introduce constant JPATH_ADMINISTRATOR_DIR","user":{"login":"izharaazmi","id":6706189,"avatar_url":"https://avatars.githubusercontent.com/u/6706189?v=3","gravatar_id":"","url":"https://api.github.com/users/izharaazmi","html_url":"https://github.com/izharaazmi","followers_url":"https://api.github.com/users/izharaazmi/followers","following_url":"https://api.github.com/users/izharaazmi/following{/other_user}","gists_url":"https://api.github.com/users/izharaazmi/gists{/gist_id}","starred_url":"https://api.github.com/users/izharaazmi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/izharaazmi/subscriptions","organizations_url":"https://api.github.com/users/izharaazmi/orgs","repos_url":"https://api.github.com/users/izharaazmi/repos","events_url":"https://api.github.com/users/izharaazmi/events{/privacy}","received_events_url":"https://api.github.com/users/izharaazmi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/joomla/joomla-cms/labels/PR-staging","name":"PR-staging","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":22,"created_at":"2015-12-17T09:47:56Z","updated_at":"2015-12-18T08:26:40Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/joomla/joomla-cms/pulls/8721","html_url":"https://github.com/joomla/joomla-cms/pull/8721","diff_url":"https://github.com/joomla/joomla-cms/pull/8721.diff","patch_url":"https://github.com/joomla/joomla-cms/pull/8721.patch"},"body":"Introduce constant JPATH_ADMINISTRATOR_DIR to eliminate hardcoding of the backend directory name everywhere. Not used anywhere yet, but intended to.\r\n\r\nThis is a step towards decoupling the cms with the hardcoded folder name 'administrator' everywhere.\r\nAt the end of the series of (successful) PRs we should be able to set any desired folder name for administrator directory. I promise not to break B/C :-) \r\n\r\nPS: I target this entire feature to be a part of Joomla! 3.6, if possible."},"comment":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/comments/165712927","html_url":"https://github.com/joomla/joomla-cms/pull/8721#issuecomment-165712927","issue_url":"https://api.github.com/repos/joomla/joomla-cms/issues/8721","id":165712927,"user":{"login":"rdeutz","id":467356,"avatar_url":"https://avatars.githubusercontent.com/u/467356?v=3","gravatar_id":"","url":"https://api.github.com/users/rdeutz","html_url":"https://github.com/rdeutz","followers_url":"https://api.github.com/users/rdeutz/followers","following_url":"https://api.github.com/users/rdeutz/following{/other_user}","gists_url":"https://api.github.com/users/rdeutz/gists{/gist_id}","starred_url":"https://api.github.com/users/rdeutz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdeutz/subscriptions","organizations_url":"https://api.github.com/users/rdeutz/orgs","repos_url":"https://api.github.com/users/rdeutz/repos","events_url":"https://api.github.com/users/rdeutz/events{/privacy}","received_events_url":"https://api.github.com/users/rdeutz/received_events","type":"User","site_admin":false},"created_at":"2015-12-18T08:26:40Z","updated_at":"2015-12-18T08:26:40Z","body":"Do see the use case for this 1+ on closing "}}