{"action":"created","comment":{"url":"https://api.github.com/repos/egrivel/vacationblog/pulls/comments/52845467","id":52845467,"diff_hunk":"@@ -12,11 +12,7 @@ function db_init() {\n    global $gl_db_init;\n    global $gl_db_system;\n    if (!$gl_db_init) {\n-      if (co_get_system() === CO_SYSTEM_PUBLIC) {","path":"site/database/database.php","position":4,"original_position":4,"commit_id":"55e94e065eabc93966a87bad6c27116983728102","original_commit_id":"55e94e065eabc93966a87bad6c27116983728102","user":{"login":"egrivel","id":16628402,"avatar_url":"https://avatars.githubusercontent.com/u/16628402?v=3","gravatar_id":"","url":"https://api.github.com/users/egrivel","html_url":"https://github.com/egrivel","followers_url":"https://api.github.com/users/egrivel/followers","following_url":"https://api.github.com/users/egrivel/following{/other_user}","gists_url":"https://api.github.com/users/egrivel/gists{/gist_id}","starred_url":"https://api.github.com/users/egrivel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/egrivel/subscriptions","organizations_url":"https://api.github.com/users/egrivel/orgs","repos_url":"https://api.github.com/users/egrivel/repos","events_url":"https://api.github.com/users/egrivel/events{/privacy}","received_events_url":"https://api.github.com/users/egrivel/received_events","type":"User","site_admin":false},"body":"since co_get_system is no longer used, the corresponding include can be removed at the top.","created_at":"2016-02-14T16:59:51Z","updated_at":"2016-02-14T16:59:51Z","html_url":"https://github.com/egrivel/vacationblog/pull/1#discussion_r52845467","pull_request_url":"https://api.github.com/repos/egrivel/vacationblog/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/egrivel/vacationblog/pulls/comments/52845467"},"html":{"href":"https://github.com/egrivel/vacationblog/pull/1#discussion_r52845467"},"pull_request":{"href":"https://api.github.com/repos/egrivel/vacationblog/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/egrivel/vacationblog/pulls/1","id":59299798,"html_url":"https://github.com/egrivel/vacationblog/pull/1","diff_url":"https://github.com/egrivel/vacationblog/pull/1.diff","patch_url":"https://github.com/egrivel/vacationblog/pull/1.patch","issue_url":"https://api.github.com/repos/egrivel/vacationblog/issues/1","number":1,"state":"open","locked":false,"title":"Configuration Fixes","user":{"login":"egrivel","id":16628402,"avatar_url":"https://avatars.githubusercontent.com/u/16628402?v=3","gravatar_id":"","url":"https://api.github.com/users/egrivel","html_url":"https://github.com/egrivel","followers_url":"https://api.github.com/users/egrivel/followers","following_url":"https://api.github.com/users/egrivel/following{/other_user}","gists_url":"https://api.github.com/users/egrivel/gists{/gist_id}","starred_url":"https://api.github.com/users/egrivel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/egrivel/subscriptions","organizations_url":"https://api.github.com/users/egrivel/orgs","repos_url":"https://api.github.com/users/egrivel/repos","events_url":"https://api.github.com/users/egrivel/events{/privacy}","received_events_url":"https://api.github.com/users/egrivel/received_events","type":"User","site_admin":false},"body":"Changed the configuration to now have a site-wide `vacationblog.ini` file which has all the site's configuration settings (both for unit testing and for running). Provided a `vacationblog.ini-default` example of the configuration file.","created_at":"2016-02-14T16:57:32Z","updated_at":"2016-02-14T16:59:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"301f592ce973ea478b615e116018d634df489808","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/egrivel/vacationblog/pulls/1/commits","review_comments_url":"https://api.github.com/repos/egrivel/vacationblog/pulls/1/comments","review_comment_url":"https://api.github.com/repos/egrivel/vacationblog/pulls/comments{/number}","comments_url":"https://api.github.com/repos/egrivel/vacationblog/issues/1/comments","statuses_url":"https://api.github.com/repos/egrivel/vacationblog/statuses/55e94e065eabc93966a87bad6c27116983728102","head":{"label":"egrivel:eg-fix-server-unittests","ref":"eg-fix-server-unittests","sha":"55e94e065eabc93966a87bad6c27116983728102","user":{"login":"egrivel","id":16628402,"avatar_url":"https://avatars.githubusercontent.com/u/16628402?v=3","gravatar_id":"","url":"https://api.github.com/users/egrivel","html_url":"https://github.com/egrivel","followers_url":"https://api.github.com/users/egrivel/followers","following_url":"https://api.github.com/users/egrivel/following{/other_user}","gists_url":"https://api.github.com/users/egrivel/gists{/gist_id}","starred_url":"https://api.github.com/users/egrivel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/egrivel/subscriptions","organizations_url":"https://api.github.com/users/egrivel/orgs","repos_url":"https://api.github.com/users/egrivel/repos","events_url":"https://api.github.com/users/egrivel/events{/privacy}","received_events_url":"https://api.github.com/users/egrivel/received_events","type":"User","site_admin":false},"repo":{"id":49391436,"name":"vacationblog","full_name":"egrivel/vacationblog","owner":{"login":"egrivel","id":16628402,"avatar_url":"https://avatars.githubusercontent.com/u/16628402?v=3","gravatar_id":"","url":"https://api.github.com/users/egrivel","html_url":"https://github.com/egrivel","followers_url":"https://api.github.com/users/egrivel/followers","following_url":"https://api.github.com/users/egrivel/following{/other_user}","gists_url":"https://api.github.com/users/egrivel/gists{/gist_id}","starred_url":"https://api.github.com/users/egrivel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/egrivel/subscriptions","organizations_url":"https://api.github.com/users/egrivel/orgs","repos_url":"https://api.github.com/users/egrivel/repos","events_url":"https://api.github.com/users/egrivel/events{/privacy}","received_events_url":"https://api.github.com/users/egrivel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/egrivel/vacationblog","description":"","fork":false,"url":"https://api.github.com/repos/egrivel/vacationblog","forks_url":"https://api.github.com/repos/egrivel/vacationblog/forks","keys_url":"https://api.github.com/repos/egrivel/vacationblog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/egrivel/vacationblog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/egrivel/vacationblog/teams","hooks_url":"https://api.github.com/repos/egrivel/vacationblog/hooks","issue_events_url":"https://api.github.com/repos/egrivel/vacationblog/issues/events{/number}","events_url":"https://api.github.com/repos/egrivel/vacationblog/events","assignees_url":"https://api.github.com/repos/egrivel/vacationblog/assignees{/user}","branches_url":"https://api.github.com/repos/egrivel/vacationblog/branches{/branch}","tags_url":"https://api.github.com/repos/egrivel/vacationblog/tags","blobs_url":"https://api.github.com/repos/egrivel/vacationblog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/egrivel/vacationblog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/egrivel/vacationblog/git/refs{/sha}","trees_url":"https://api.github.com/repos/egrivel/vacationblog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/egrivel/vacationblog/statuses/{sha}","languages_url":"https://api.github.com/repos/egrivel/vacationblog/languages","stargazers_url":"https://api.github.com/repos/egrivel/vacationblog/stargazers","contributors_url":"https://api.github.com/repos/egrivel/vacationblog/contributors","subscribers_url":"https://api.github.com/repos/egrivel/vacationblog/subscribers","subscription_url":"https://api.github.com/repos/egrivel/vacationblog/subscription","commits_url":"https://api.github.com/repos/egrivel/vacationblog/commits{/sha}","git_commits_url":"https://api.github.com/repos/egrivel/vacationblog/git/commits{/sha}","comments_url":"https://api.github.com/repos/egrivel/vacationblog/comments{/number}","issue_comment_url":"https://api.github.com/repos/egrivel/vacationblog/issues/comments{/number}","contents_url":"https://api.github.com/repos/egrivel/vacationblog/contents/{+path}","compare_url":"https://api.github.com/repos/egrivel/vacationblog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/egrivel/vacationblog/merges","archive_url":"https://api.github.com/repos/egrivel/vacationblog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/egrivel/vacationblog/downloads","issues_url":"https://api.github.com/repos/egrivel/vacationblog/issues{/number}","pulls_url":"https://api.github.com/repos/egrivel/vacationblog/pulls{/number}","milestones_url":"https://api.github.com/repos/egrivel/vacationblog/milestones{/number}","notifications_url":"https://api.github.com/repos/egrivel/vacationblog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/egrivel/vacationblog/labels{/name}","releases_url":"https://api.github.com/repos/egrivel/vacationblog/releases{/id}","deployments_url":"https://api.github.com/repos/egrivel/vacationblog/deployments","created_at":"2016-01-11T00:00:00Z","updated_at":"2016-01-12T00:04:56Z","pushed_at":"2016-02-14T16:57:32Z","git_url":"git://github.com/egrivel/vacationblog.git","ssh_url":"git@github.com:egrivel/vacationblog.git","clone_url":"https://github.com/egrivel/vacationblog.git","svn_url":"https://github.com/egrivel/vacationblog","homepage":null,"size":2338,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"egrivel:master","ref":"master","sha":"40019e0d38151a8dea701c8bcae7068d839921a7","user":{"login":"egrivel","id":16628402,"avatar_url":"https://avatars.githubusercontent.com/u/16628402?v=3","gravatar_id":"","url":"https://api.github.com/users/egrivel","html_url":"https://github.com/egrivel","followers_url":"https://api.github.com/users/egrivel/followers","following_url":"https://api.github.com/users/egrivel/following{/other_user}","gists_url":"https://api.github.com/users/egrivel/gists{/gist_id}","starred_url":"https://api.github.com/users/egrivel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/egrivel/subscriptions","organizations_url":"https://api.github.com/users/egrivel/orgs","repos_url":"https://api.github.com/users/egrivel/repos","events_url":"https://api.github.com/users/egrivel/events{/privacy}","received_events_url":"https://api.github.com/users/egrivel/received_events","type":"User","site_admin":false},"repo":{"id":49391436,"name":"vacationblog","full_name":"egrivel/vacationblog","owner":{"login":"egrivel","id":16628402,"avatar_url":"https://avatars.githubusercontent.com/u/16628402?v=3","gravatar_id":"","url":"https://api.github.com/users/egrivel","html_url":"https://github.com/egrivel","followers_url":"https://api.github.com/users/egrivel/followers","following_url":"https://api.github.com/users/egrivel/following{/other_user}","gists_url":"https://api.github.com/users/egrivel/gists{/gist_id}","starred_url":"https://api.github.com/users/egrivel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/egrivel/subscriptions","organizations_url":"https://api.github.com/users/egrivel/orgs","repos_url":"https://api.github.com/users/egrivel/repos","events_url":"https://api.github.com/users/egrivel/events{/privacy}","received_events_url":"https://api.github.com/users/egrivel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/egrivel/vacationblog","description":"","fork":false,"url":"https://api.github.com/repos/egrivel/vacationblog","forks_url":"https://api.github.com/repos/egrivel/vacationblog/forks","keys_url":"https://api.github.com/repos/egrivel/vacationblog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/egrivel/vacationblog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/egrivel/vacationblog/teams","hooks_url":"https://api.github.com/repos/egrivel/vacationblog/hooks","issue_events_url":"https://api.github.com/repos/egrivel/vacationblog/issues/events{/number}","events_url":"https://api.github.com/repos/egrivel/vacationblog/events","assignees_url":"https://api.github.com/repos/egrivel/vacationblog/assignees{/user}","branches_url":"https://api.github.com/repos/egrivel/vacationblog/branches{/branch}","tags_url":"https://api.github.com/repos/egrivel/vacationblog/tags","blobs_url":"https://api.github.com/repos/egrivel/vacationblog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/egrivel/vacationblog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/egrivel/vacationblog/git/refs{/sha}","trees_url":"https://api.github.com/repos/egrivel/vacationblog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/egrivel/vacationblog/statuses/{sha}","languages_url":"https://api.github.com/repos/egrivel/vacationblog/languages","stargazers_url":"https://api.github.com/repos/egrivel/vacationblog/stargazers","contributors_url":"https://api.github.com/repos/egrivel/vacationblog/contributors","subscribers_url":"https://api.github.com/repos/egrivel/vacationblog/subscribers","subscription_url":"https://api.github.com/repos/egrivel/vacationblog/subscription","commits_url":"https://api.github.com/repos/egrivel/vacationblog/commits{/sha}","git_commits_url":"https://api.github.com/repos/egrivel/vacationblog/git/commits{/sha}","comments_url":"https://api.github.com/repos/egrivel/vacationblog/comments{/number}","issue_comment_url":"https://api.github.com/repos/egrivel/vacationblog/issues/comments{/number}","contents_url":"https://api.github.com/repos/egrivel/vacationblog/contents/{+path}","compare_url":"https://api.github.com/repos/egrivel/vacationblog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/egrivel/vacationblog/merges","archive_url":"https://api.github.com/repos/egrivel/vacationblog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/egrivel/vacationblog/downloads","issues_url":"https://api.github.com/repos/egrivel/vacationblog/issues{/number}","pulls_url":"https://api.github.com/repos/egrivel/vacationblog/pulls{/number}","milestones_url":"https://api.github.com/repos/egrivel/vacationblog/milestones{/number}","notifications_url":"https://api.github.com/repos/egrivel/vacationblog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/egrivel/vacationblog/labels{/name}","releases_url":"https://api.github.com/repos/egrivel/vacationblog/releases{/id}","deployments_url":"https://api.github.com/repos/egrivel/vacationblog/deployments","created_at":"2016-01-11T00:00:00Z","updated_at":"2016-01-12T00:04:56Z","pushed_at":"2016-02-14T16:57:32Z","git_url":"git://github.com/egrivel/vacationblog.git","ssh_url":"git@github.com:egrivel/vacationblog.git","clone_url":"https://github.com/egrivel/vacationblog.git","svn_url":"https://github.com/egrivel/vacationblog","homepage":null,"size":2338,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/egrivel/vacationblog/pulls/1"},"html":{"href":"https://github.com/egrivel/vacationblog/pull/1"},"issue":{"href":"https://api.github.com/repos/egrivel/vacationblog/issues/1"},"comments":{"href":"https://api.github.com/repos/egrivel/vacationblog/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/egrivel/vacationblog/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/egrivel/vacationblog/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/egrivel/vacationblog/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/egrivel/vacationblog/statuses/55e94e065eabc93966a87bad6c27116983728102"}}}}