{"action":"created","comment":{"url":"https://api.github.com/repos/delta/pragyan/pulls/comments/22768323","id":22768323,"diff_hunk":"@@ -0,0 +1,127 @@\n+<?php\n+if(!defined('__PRAGYAN_CMS'))\n+    { \n+        header($_SERVER['SERVER_PROTOCOL'].' 403 Forbidden');\n+        echo \"<h1>403 Forbidden</h1><h4>You are not authorized to access the page.</h4>\";\n+        echo '<hr/>'.$_SERVER['SERVER_SIGNATURE'];\n+        exit(1);\n+    }","path":"cms/pdo.class.php","position":8,"original_position":8,"commit_id":"547c67e5e10347767237a1c63c7acb37714481e0","original_commit_id":"547c67e5e10347767237a1c63c7acb37714481e0","user":{"login":"vshriram93","id":993151,"avatar_url":"https://avatars.githubusercontent.com/u/993151?v=3","gravatar_id":"","url":"https://api.github.com/users/vshriram93","html_url":"https://github.com/vshriram93","followers_url":"https://api.github.com/users/vshriram93/followers","following_url":"https://api.github.com/users/vshriram93/following{/other_user}","gists_url":"https://api.github.com/users/vshriram93/gists{/gist_id}","starred_url":"https://api.github.com/users/vshriram93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vshriram93/subscriptions","organizations_url":"https://api.github.com/users/vshriram93/orgs","repos_url":"https://api.github.com/users/vshriram93/repos","events_url":"https://api.github.com/users/vshriram93/events{/privacy}","received_events_url":"https://api.github.com/users/vshriram93/received_events","type":"User","site_admin":false},"body":"} , should be the first character. \"no whitespace\"","created_at":"2015-01-11T17:29:45Z","updated_at":"2015-01-11T17:29:45Z","html_url":"https://github.com/delta/pragyan/pull/199#discussion_r22768323","pull_request_url":"https://api.github.com/repos/delta/pragyan/pulls/199","_links":{"self":{"href":"https://api.github.com/repos/delta/pragyan/pulls/comments/22768323"},"html":{"href":"https://github.com/delta/pragyan/pull/199#discussion_r22768323"},"pull_request":{"href":"https://api.github.com/repos/delta/pragyan/pulls/199"}}},"pull_request":{"url":"https://api.github.com/repos/delta/pragyan/pulls/199","id":27147889,"html_url":"https://github.com/delta/pragyan/pull/199","diff_url":"https://github.com/delta/pragyan/pull/199.diff","patch_url":"https://github.com/delta/pragyan/pull/199.patch","issue_url":"https://api.github.com/repos/delta/pragyan/issues/199","number":199,"state":"open","locked":false,"title":"PDO","user":{"login":"vigneshmanix","id":4188905,"avatar_url":"https://avatars.githubusercontent.com/u/4188905?v=3","gravatar_id":"","url":"https://api.github.com/users/vigneshmanix","html_url":"https://github.com/vigneshmanix","followers_url":"https://api.github.com/users/vigneshmanix/followers","following_url":"https://api.github.com/users/vigneshmanix/following{/other_user}","gists_url":"https://api.github.com/users/vigneshmanix/gists{/gist_id}","starred_url":"https://api.github.com/users/vigneshmanix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vigneshmanix/subscriptions","organizations_url":"https://api.github.com/users/vigneshmanix/orgs","repos_url":"https://api.github.com/users/vigneshmanix/repos","events_url":"https://api.github.com/users/vigneshmanix/events{/privacy}","received_events_url":"https://api.github.com/users/vigneshmanix/received_events","type":"User","site_admin":false},"body":"Created pdo class and used it in few lib files","created_at":"2015-01-10T11:31:01Z","updated_at":"2015-01-11T17:29:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1c03de08685afaa5603d77a33bb76d76d6c13f2e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/delta/pragyan/pulls/199/commits","review_comments_url":"https://api.github.com/repos/delta/pragyan/pulls/199/comments","review_comment_url":"https://api.github.com/repos/delta/pragyan/pulls/comments/{number}","comments_url":"https://api.github.com/repos/delta/pragyan/issues/199/comments","statuses_url":"https://api.github.com/repos/delta/pragyan/statuses/547c67e5e10347767237a1c63c7acb37714481e0","head":{"label":"vigneshmanix:pdo","ref":"pdo","sha":"547c67e5e10347767237a1c63c7acb37714481e0","user":{"login":"vigneshmanix","id":4188905,"avatar_url":"https://avatars.githubusercontent.com/u/4188905?v=3","gravatar_id":"","url":"https://api.github.com/users/vigneshmanix","html_url":"https://github.com/vigneshmanix","followers_url":"https://api.github.com/users/vigneshmanix/followers","following_url":"https://api.github.com/users/vigneshmanix/following{/other_user}","gists_url":"https://api.github.com/users/vigneshmanix/gists{/gist_id}","starred_url":"https://api.github.com/users/vigneshmanix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vigneshmanix/subscriptions","organizations_url":"https://api.github.com/users/vigneshmanix/orgs","repos_url":"https://api.github.com/users/vigneshmanix/repos","events_url":"https://api.github.com/users/vigneshmanix/events{/privacy}","received_events_url":"https://api.github.com/users/vigneshmanix/received_events","type":"User","site_admin":false},"repo":{"id":28668529,"name":"pragyan","full_name":"vigneshmanix/pragyan","owner":{"login":"vigneshmanix","id":4188905,"avatar_url":"https://avatars.githubusercontent.com/u/4188905?v=3","gravatar_id":"","url":"https://api.github.com/users/vigneshmanix","html_url":"https://github.com/vigneshmanix","followers_url":"https://api.github.com/users/vigneshmanix/followers","following_url":"https://api.github.com/users/vigneshmanix/following{/other_user}","gists_url":"https://api.github.com/users/vigneshmanix/gists{/gist_id}","starred_url":"https://api.github.com/users/vigneshmanix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vigneshmanix/subscriptions","organizations_url":"https://api.github.com/users/vigneshmanix/orgs","repos_url":"https://api.github.com/users/vigneshmanix/repos","events_url":"https://api.github.com/users/vigneshmanix/events{/privacy}","received_events_url":"https://api.github.com/users/vigneshmanix/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vigneshmanix/pragyan","description":"A simple and fast multiuser content management system to organize collaborative web-content. This CMS allows very fine user&group permissions, generating pages like articles, forms, quizzes, forums, etc, search powered by sphider.","fork":true,"url":"https://api.github.com/repos/vigneshmanix/pragyan","forks_url":"https://api.github.com/repos/vigneshmanix/pragyan/forks","keys_url":"https://api.github.com/repos/vigneshmanix/pragyan/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vigneshmanix/pragyan/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vigneshmanix/pragyan/teams","hooks_url":"https://api.github.com/repos/vigneshmanix/pragyan/hooks","issue_events_url":"https://api.github.com/repos/vigneshmanix/pragyan/issues/events{/number}","events_url":"https://api.github.com/repos/vigneshmanix/pragyan/events","assignees_url":"https://api.github.com/repos/vigneshmanix/pragyan/assignees{/user}","branches_url":"https://api.github.com/repos/vigneshmanix/pragyan/branches{/branch}","tags_url":"https://api.github.com/repos/vigneshmanix/pragyan/tags","blobs_url":"https://api.github.com/repos/vigneshmanix/pragyan/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vigneshmanix/pragyan/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vigneshmanix/pragyan/git/refs{/sha}","trees_url":"https://api.github.com/repos/vigneshmanix/pragyan/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vigneshmanix/pragyan/statuses/{sha}","languages_url":"https://api.github.com/repos/vigneshmanix/pragyan/languages","stargazers_url":"https://api.github.com/repos/vigneshmanix/pragyan/stargazers","contributors_url":"https://api.github.com/repos/vigneshmanix/pragyan/contributors","subscribers_url":"https://api.github.com/repos/vigneshmanix/pragyan/subscribers","subscription_url":"https://api.github.com/repos/vigneshmanix/pragyan/subscription","commits_url":"https://api.github.com/repos/vigneshmanix/pragyan/commits{/sha}","git_commits_url":"https://api.github.com/repos/vigneshmanix/pragyan/git/commits{/sha}","comments_url":"https://api.github.com/repos/vigneshmanix/pragyan/comments{/number}","issue_comment_url":"https://api.github.com/repos/vigneshmanix/pragyan/issues/comments/{number}","contents_url":"https://api.github.com/repos/vigneshmanix/pragyan/contents/{+path}","compare_url":"https://api.github.com/repos/vigneshmanix/pragyan/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vigneshmanix/pragyan/merges","archive_url":"https://api.github.com/repos/vigneshmanix/pragyan/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vigneshmanix/pragyan/downloads","issues_url":"https://api.github.com/repos/vigneshmanix/pragyan/issues{/number}","pulls_url":"https://api.github.com/repos/vigneshmanix/pragyan/pulls{/number}","milestones_url":"https://api.github.com/repos/vigneshmanix/pragyan/milestones{/number}","notifications_url":"https://api.github.com/repos/vigneshmanix/pragyan/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vigneshmanix/pragyan/labels{/name}","releases_url":"https://api.github.com/repos/vigneshmanix/pragyan/releases{/id}","created_at":"2014-12-31T15:10:20Z","updated_at":"2014-12-31T15:10:22Z","pushed_at":"2015-01-10T16:35:00Z","git_url":"git://github.com/vigneshmanix/pragyan.git","ssh_url":"git@github.com:vigneshmanix/pragyan.git","clone_url":"https://github.com/vigneshmanix/pragyan.git","svn_url":"https://github.com/vigneshmanix/pragyan","homepage":"http://delta.nitt.edu","size":11676,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"delta:master","ref":"master","sha":"9d2c7931a047da2c19e2425b1447d72a56c68944","user":{"login":"delta","id":696668,"avatar_url":"https://avatars.githubusercontent.com/u/696668?v=3","gravatar_id":"","url":"https://api.github.com/users/delta","html_url":"https://github.com/delta","followers_url":"https://api.github.com/users/delta/followers","following_url":"https://api.github.com/users/delta/following{/other_user}","gists_url":"https://api.github.com/users/delta/gists{/gist_id}","starred_url":"https://api.github.com/users/delta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/delta/subscriptions","organizations_url":"https://api.github.com/users/delta/orgs","repos_url":"https://api.github.com/users/delta/repos","events_url":"https://api.github.com/users/delta/events{/privacy}","received_events_url":"https://api.github.com/users/delta/received_events","type":"Organization","site_admin":false},"repo":{"id":1540338,"name":"pragyan","full_name":"delta/pragyan","owner":{"login":"delta","id":696668,"avatar_url":"https://avatars.githubusercontent.com/u/696668?v=3","gravatar_id":"","url":"https://api.github.com/users/delta","html_url":"https://github.com/delta","followers_url":"https://api.github.com/users/delta/followers","following_url":"https://api.github.com/users/delta/following{/other_user}","gists_url":"https://api.github.com/users/delta/gists{/gist_id}","starred_url":"https://api.github.com/users/delta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/delta/subscriptions","organizations_url":"https://api.github.com/users/delta/orgs","repos_url":"https://api.github.com/users/delta/repos","events_url":"https://api.github.com/users/delta/events{/privacy}","received_events_url":"https://api.github.com/users/delta/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/delta/pragyan","description":"A simple and fast multiuser content management system to organize collaborative web-content. This CMS allows very fine user&group permissions, generating pages like articles, forms, quizzes, forums, etc, search powered by sphider.","fork":false,"url":"https://api.github.com/repos/delta/pragyan","forks_url":"https://api.github.com/repos/delta/pragyan/forks","keys_url":"https://api.github.com/repos/delta/pragyan/keys{/key_id}","collaborators_url":"https://api.github.com/repos/delta/pragyan/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/delta/pragyan/teams","hooks_url":"https://api.github.com/repos/delta/pragyan/hooks","issue_events_url":"https://api.github.com/repos/delta/pragyan/issues/events{/number}","events_url":"https://api.github.com/repos/delta/pragyan/events","assignees_url":"https://api.github.com/repos/delta/pragyan/assignees{/user}","branches_url":"https://api.github.com/repos/delta/pragyan/branches{/branch}","tags_url":"https://api.github.com/repos/delta/pragyan/tags","blobs_url":"https://api.github.com/repos/delta/pragyan/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/delta/pragyan/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/delta/pragyan/git/refs{/sha}","trees_url":"https://api.github.com/repos/delta/pragyan/git/trees{/sha}","statuses_url":"https://api.github.com/repos/delta/pragyan/statuses/{sha}","languages_url":"https://api.github.com/repos/delta/pragyan/languages","stargazers_url":"https://api.github.com/repos/delta/pragyan/stargazers","contributors_url":"https://api.github.com/repos/delta/pragyan/contributors","subscribers_url":"https://api.github.com/repos/delta/pragyan/subscribers","subscription_url":"https://api.github.com/repos/delta/pragyan/subscription","commits_url":"https://api.github.com/repos/delta/pragyan/commits{/sha}","git_commits_url":"https://api.github.com/repos/delta/pragyan/git/commits{/sha}","comments_url":"https://api.github.com/repos/delta/pragyan/comments{/number}","issue_comment_url":"https://api.github.com/repos/delta/pragyan/issues/comments/{number}","contents_url":"https://api.github.com/repos/delta/pragyan/contents/{+path}","compare_url":"https://api.github.com/repos/delta/pragyan/compare/{base}...{head}","merges_url":"https://api.github.com/repos/delta/pragyan/merges","archive_url":"https://api.github.com/repos/delta/pragyan/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/delta/pragyan/downloads","issues_url":"https://api.github.com/repos/delta/pragyan/issues{/number}","pulls_url":"https://api.github.com/repos/delta/pragyan/pulls{/number}","milestones_url":"https://api.github.com/repos/delta/pragyan/milestones{/number}","notifications_url":"https://api.github.com/repos/delta/pragyan/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/delta/pragyan/labels{/name}","releases_url":"https://api.github.com/repos/delta/pragyan/releases{/id}","created_at":"2011-03-29T07:05:49Z","updated_at":"2014-12-12T16:40:25Z","pushed_at":"2014-12-12T16:40:25Z","git_url":"git://github.com/delta/pragyan.git","ssh_url":"git@github.com:delta/pragyan.git","clone_url":"https://github.com/delta/pragyan.git","svn_url":"https://github.com/delta/pragyan","homepage":"http://delta.nitt.edu","size":17179,"stargazers_count":28,"watchers_count":28,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":30,"mirror_url":null,"open_issues_count":49,"forks":30,"open_issues":49,"watchers":28,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/delta/pragyan/pulls/199"},"html":{"href":"https://github.com/delta/pragyan/pull/199"},"issue":{"href":"https://api.github.com/repos/delta/pragyan/issues/199"},"comments":{"href":"https://api.github.com/repos/delta/pragyan/issues/199/comments"},"review_comments":{"href":"https://api.github.com/repos/delta/pragyan/pulls/199/comments"},"review_comment":{"href":"https://api.github.com/repos/delta/pragyan/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/delta/pragyan/pulls/199/commits"},"statuses":{"href":"https://api.github.com/repos/delta/pragyan/statuses/547c67e5e10347767237a1c63c7acb37714481e0"}}}}