{"action":"opened","number":22,"pull_request":{"url":"https://api.github.com/repos/alexgarrett/simple-mvc/pulls/22","id":209329049,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA5MzI5MDQ5","html_url":"https://github.com/alexgarrett/simple-mvc/pull/22","diff_url":"https://github.com/alexgarrett/simple-mvc/pull/22.diff","patch_url":"https://github.com/alexgarrett/simple-mvc/pull/22.patch","issue_url":"https://api.github.com/repos/alexgarrett/simple-mvc/issues/22","number":22,"state":"open","locked":false,"title":"Set public as root","user":{"login":"EuanRiggans","id":21158420,"node_id":"MDQ6VXNlcjIxMTU4NDIw","avatar_url":"https://avatars3.githubusercontent.com/u/21158420?v=4","gravatar_id":"","url":"https://api.github.com/users/EuanRiggans","html_url":"https://github.com/EuanRiggans","followers_url":"https://api.github.com/users/EuanRiggans/followers","following_url":"https://api.github.com/users/EuanRiggans/following{/other_user}","gists_url":"https://api.github.com/users/EuanRiggans/gists{/gist_id}","starred_url":"https://api.github.com/users/EuanRiggans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EuanRiggans/subscriptions","organizations_url":"https://api.github.com/users/EuanRiggans/orgs","repos_url":"https://api.github.com/users/EuanRiggans/repos","events_url":"https://api.github.com/users/EuanRiggans/events{/privacy}","received_events_url":"https://api.github.com/users/EuanRiggans/received_events","type":"User","site_admin":false},"body":"If mod_rewrite module is enabled on Apache server, then use it to set the root to the public directory. To prevent the user from having to use domain.com/public/. They can now just go to domain.com without the /public/ from being displayed.","created_at":"2018-08-18T20:27:49Z","updated_at":"2018-08-18T20:27:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/alexgarrett/simple-mvc/pulls/22/commits","review_comments_url":"https://api.github.com/repos/alexgarrett/simple-mvc/pulls/22/comments","review_comment_url":"https://api.github.com/repos/alexgarrett/simple-mvc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alexgarrett/simple-mvc/issues/22/comments","statuses_url":"https://api.github.com/repos/alexgarrett/simple-mvc/statuses/c5584a121e2fe5af6d9668913d4084a094393e5b","head":{"label":"EuanRiggans:patch-1","ref":"patch-1","sha":"c5584a121e2fe5af6d9668913d4084a094393e5b","user":{"login":"EuanRiggans","id":21158420,"node_id":"MDQ6VXNlcjIxMTU4NDIw","avatar_url":"https://avatars3.githubusercontent.com/u/21158420?v=4","gravatar_id":"","url":"https://api.github.com/users/EuanRiggans","html_url":"https://github.com/EuanRiggans","followers_url":"https://api.github.com/users/EuanRiggans/followers","following_url":"https://api.github.com/users/EuanRiggans/following{/other_user}","gists_url":"https://api.github.com/users/EuanRiggans/gists{/gist_id}","starred_url":"https://api.github.com/users/EuanRiggans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EuanRiggans/subscriptions","organizations_url":"https://api.github.com/users/EuanRiggans/orgs","repos_url":"https://api.github.com/users/EuanRiggans/repos","events_url":"https://api.github.com/users/EuanRiggans/events{/privacy}","received_events_url":"https://api.github.com/users/EuanRiggans/received_events","type":"User","site_admin":false},"repo":{"id":145250536,"node_id":"MDEwOlJlcG9zaXRvcnkxNDUyNTA1MzY=","name":"simple-mvc","full_name":"EuanRiggans/simple-mvc","owner":{"login":"EuanRiggans","id":21158420,"node_id":"MDQ6VXNlcjIxMTU4NDIw","avatar_url":"https://avatars3.githubusercontent.com/u/21158420?v=4","gravatar_id":"","url":"https://api.github.com/users/EuanRiggans","html_url":"https://github.com/EuanRiggans","followers_url":"https://api.github.com/users/EuanRiggans/followers","following_url":"https://api.github.com/users/EuanRiggans/following{/other_user}","gists_url":"https://api.github.com/users/EuanRiggans/gists{/gist_id}","starred_url":"https://api.github.com/users/EuanRiggans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EuanRiggans/subscriptions","organizations_url":"https://api.github.com/users/EuanRiggans/orgs","repos_url":"https://api.github.com/users/EuanRiggans/repos","events_url":"https://api.github.com/users/EuanRiggans/events{/privacy}","received_events_url":"https://api.github.com/users/EuanRiggans/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/EuanRiggans/simple-mvc","description":"A very simple PHP MVC application","fork":true,"url":"https://api.github.com/repos/EuanRiggans/simple-mvc","forks_url":"https://api.github.com/repos/EuanRiggans/simple-mvc/forks","keys_url":"https://api.github.com/repos/EuanRiggans/simple-mvc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/EuanRiggans/simple-mvc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/EuanRiggans/simple-mvc/teams","hooks_url":"https://api.github.com/repos/EuanRiggans/simple-mvc/hooks","issue_events_url":"https://api.github.com/repos/EuanRiggans/simple-mvc/issues/events{/number}","events_url":"https://api.github.com/repos/EuanRiggans/simple-mvc/events","assignees_url":"https://api.github.com/repos/EuanRiggans/simple-mvc/assignees{/user}","branches_url":"https://api.github.com/repos/EuanRiggans/simple-mvc/branches{/branch}","tags_url":"https://api.github.com/repos/EuanRiggans/simple-mvc/tags","blobs_url":"https://api.github.com/repos/EuanRiggans/simple-mvc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/EuanRiggans/simple-mvc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/EuanRiggans/simple-mvc/git/refs{/sha}","trees_url":"https://api.github.com/repos/EuanRiggans/simple-mvc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/EuanRiggans/simple-mvc/statuses/{sha}","languages_url":"https://api.github.com/repos/EuanRiggans/simple-mvc/languages","stargazers_url":"https://api.github.com/repos/EuanRiggans/simple-mvc/stargazers","contributors_url":"https://api.github.com/repos/EuanRiggans/simple-mvc/contributors","subscribers_url":"https://api.github.com/repos/EuanRiggans/simple-mvc/subscribers","subscription_url":"https://api.github.com/repos/EuanRiggans/simple-mvc/subscription","commits_url":"https://api.github.com/repos/EuanRiggans/simple-mvc/commits{/sha}","git_commits_url":"https://api.github.com/repos/EuanRiggans/simple-mvc/git/commits{/sha}","comments_url":"https://api.github.com/repos/EuanRiggans/simple-mvc/comments{/number}","issue_comment_url":"https://api.github.com/repos/EuanRiggans/simple-mvc/issues/comments{/number}","contents_url":"https://api.github.com/repos/EuanRiggans/simple-mvc/contents/{+path}","compare_url":"https://api.github.com/repos/EuanRiggans/simple-mvc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/EuanRiggans/simple-mvc/merges","archive_url":"https://api.github.com/repos/EuanRiggans/simple-mvc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/EuanRiggans/simple-mvc/downloads","issues_url":"https://api.github.com/repos/EuanRiggans/simple-mvc/issues{/number}","pulls_url":"https://api.github.com/repos/EuanRiggans/simple-mvc/pulls{/number}","milestones_url":"https://api.github.com/repos/EuanRiggans/simple-mvc/milestones{/number}","notifications_url":"https://api.github.com/repos/EuanRiggans/simple-mvc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/EuanRiggans/simple-mvc/labels{/name}","releases_url":"https://api.github.com/repos/EuanRiggans/simple-mvc/releases{/id}","deployments_url":"https://api.github.com/repos/EuanRiggans/simple-mvc/deployments","created_at":"2018-08-18T20:25:04Z","updated_at":"2018-08-18T20:25:06Z","pushed_at":"2018-08-18T20:27:35Z","git_url":"git://github.com/EuanRiggans/simple-mvc.git","ssh_url":"git@github.com:EuanRiggans/simple-mvc.git","clone_url":"https://github.com/EuanRiggans/simple-mvc.git","svn_url":"https://github.com/EuanRiggans/simple-mvc","homepage":null,"size":9672,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"alexgarrett:master","ref":"master","sha":"a723298030229a5f6f8f85892c578207c92e2724","user":{"login":"alexgarrett","id":1692996,"node_id":"MDQ6VXNlcjE2OTI5OTY=","avatar_url":"https://avatars1.githubusercontent.com/u/1692996?v=4","gravatar_id":"","url":"https://api.github.com/users/alexgarrett","html_url":"https://github.com/alexgarrett","followers_url":"https://api.github.com/users/alexgarrett/followers","following_url":"https://api.github.com/users/alexgarrett/following{/other_user}","gists_url":"https://api.github.com/users/alexgarrett/gists{/gist_id}","starred_url":"https://api.github.com/users/alexgarrett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexgarrett/subscriptions","organizations_url":"https://api.github.com/users/alexgarrett/orgs","repos_url":"https://api.github.com/users/alexgarrett/repos","events_url":"https://api.github.com/users/alexgarrett/events{/privacy}","received_events_url":"https://api.github.com/users/alexgarrett/received_events","type":"User","site_admin":false},"repo":{"id":19579855,"node_id":"MDEwOlJlcG9zaXRvcnkxOTU3OTg1NQ==","name":"simple-mvc","full_name":"alexgarrett/simple-mvc","owner":{"login":"alexgarrett","id":1692996,"node_id":"MDQ6VXNlcjE2OTI5OTY=","avatar_url":"https://avatars1.githubusercontent.com/u/1692996?v=4","gravatar_id":"","url":"https://api.github.com/users/alexgarrett","html_url":"https://github.com/alexgarrett","followers_url":"https://api.github.com/users/alexgarrett/followers","following_url":"https://api.github.com/users/alexgarrett/following{/other_user}","gists_url":"https://api.github.com/users/alexgarrett/gists{/gist_id}","starred_url":"https://api.github.com/users/alexgarrett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexgarrett/subscriptions","organizations_url":"https://api.github.com/users/alexgarrett/orgs","repos_url":"https://api.github.com/users/alexgarrett/repos","events_url":"https://api.github.com/users/alexgarrett/events{/privacy}","received_events_url":"https://api.github.com/users/alexgarrett/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alexgarrett/simple-mvc","description":"A very simple PHP MVC application","fork":false,"url":"https://api.github.com/repos/alexgarrett/simple-mvc","forks_url":"https://api.github.com/repos/alexgarrett/simple-mvc/forks","keys_url":"https://api.github.com/repos/alexgarrett/simple-mvc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alexgarrett/simple-mvc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alexgarrett/simple-mvc/teams","hooks_url":"https://api.github.com/repos/alexgarrett/simple-mvc/hooks","issue_events_url":"https://api.github.com/repos/alexgarrett/simple-mvc/issues/events{/number}","events_url":"https://api.github.com/repos/alexgarrett/simple-mvc/events","assignees_url":"https://api.github.com/repos/alexgarrett/simple-mvc/assignees{/user}","branches_url":"https://api.github.com/repos/alexgarrett/simple-mvc/branches{/branch}","tags_url":"https://api.github.com/repos/alexgarrett/simple-mvc/tags","blobs_url":"https://api.github.com/repos/alexgarrett/simple-mvc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alexgarrett/simple-mvc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alexgarrett/simple-mvc/git/refs{/sha}","trees_url":"https://api.github.com/repos/alexgarrett/simple-mvc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alexgarrett/simple-mvc/statuses/{sha}","languages_url":"https://api.github.com/repos/alexgarrett/simple-mvc/languages","stargazers_url":"https://api.github.com/repos/alexgarrett/simple-mvc/stargazers","contributors_url":"https://api.github.com/repos/alexgarrett/simple-mvc/contributors","subscribers_url":"https://api.github.com/repos/alexgarrett/simple-mvc/subscribers","subscription_url":"https://api.github.com/repos/alexgarrett/simple-mvc/subscription","commits_url":"https://api.github.com/repos/alexgarrett/simple-mvc/commits{/sha}","git_commits_url":"https://api.github.com/repos/alexgarrett/simple-mvc/git/commits{/sha}","comments_url":"https://api.github.com/repos/alexgarrett/simple-mvc/comments{/number}","issue_comment_url":"https://api.github.com/repos/alexgarrett/simple-mvc/issues/comments{/number}","contents_url":"https://api.github.com/repos/alexgarrett/simple-mvc/contents/{+path}","compare_url":"https://api.github.com/repos/alexgarrett/simple-mvc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alexgarrett/simple-mvc/merges","archive_url":"https://api.github.com/repos/alexgarrett/simple-mvc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alexgarrett/simple-mvc/downloads","issues_url":"https://api.github.com/repos/alexgarrett/simple-mvc/issues{/number}","pulls_url":"https://api.github.com/repos/alexgarrett/simple-mvc/pulls{/number}","milestones_url":"https://api.github.com/repos/alexgarrett/simple-mvc/milestones{/number}","notifications_url":"https://api.github.com/repos/alexgarrett/simple-mvc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alexgarrett/simple-mvc/labels{/name}","releases_url":"https://api.github.com/repos/alexgarrett/simple-mvc/releases{/id}","deployments_url":"https://api.github.com/repos/alexgarrett/simple-mvc/deployments","created_at":"2014-05-08T16:05:02Z","updated_at":"2018-08-13T16:54:53Z","pushed_at":"2017-05-03T22:45:32Z","git_url":"git://github.com/alexgarrett/simple-mvc.git","ssh_url":"git@github.com:alexgarrett/simple-mvc.git","clone_url":"https://github.com/alexgarrett/simple-mvc.git","svn_url":"https://github.com/alexgarrett/simple-mvc","homepage":null,"size":9672,"stargazers_count":112,"watchers_count":112,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":70,"mirror_url":null,"archived":false,"open_issues_count":9,"license":null,"forks":70,"open_issues":9,"watchers":112,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alexgarrett/simple-mvc/pulls/22"},"html":{"href":"https://github.com/alexgarrett/simple-mvc/pull/22"},"issue":{"href":"https://api.github.com/repos/alexgarrett/simple-mvc/issues/22"},"comments":{"href":"https://api.github.com/repos/alexgarrett/simple-mvc/issues/22/comments"},"review_comments":{"href":"https://api.github.com/repos/alexgarrett/simple-mvc/pulls/22/comments"},"review_comment":{"href":"https://api.github.com/repos/alexgarrett/simple-mvc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alexgarrett/simple-mvc/pulls/22/commits"},"statuses":{"href":"https://api.github.com/repos/alexgarrett/simple-mvc/statuses/c5584a121e2fe5af6d9668913d4084a094393e5b"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":5,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"EuanRiggans"}}