{"action":"created","issue":{"url":"https://api.github.com/repos/friendica/friendica/issues/1274","labels_url":"https://api.github.com/repos/friendica/friendica/issues/1274/labels{/name}","comments_url":"https://api.github.com/repos/friendica/friendica/issues/1274/comments","events_url":"https://api.github.com/repos/friendica/friendica/issues/1274/events","html_url":"https://github.com/friendica/friendica/pull/1274","id":53240083,"number":1274,"title":"Issue 1218: generate $argv and $argc from $_SERVER if it wasn't defined","user":{"login":"annando","id":844208,"avatar_url":"https://avatars.githubusercontent.com/u/844208?v=3","gravatar_id":"","url":"https://api.github.com/users/annando","html_url":"https://github.com/annando","followers_url":"https://api.github.com/users/annando/followers","following_url":"https://api.github.com/users/annando/following{/other_user}","gists_url":"https://api.github.com/users/annando/gists{/gist_id}","starred_url":"https://api.github.com/users/annando/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/annando/subscriptions","organizations_url":"https://api.github.com/users/annando/orgs","repos_url":"https://api.github.com/users/annando/repos","events_url":"https://api.github.com/users/annando/events{/privacy}","received_events_url":"https://api.github.com/users/annando/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-02T06:48:31Z","updated_at":"2015-01-02T15:21:08Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/friendica/friendica/pulls/1274","html_url":"https://github.com/friendica/friendica/pull/1274","diff_url":"https://github.com/friendica/friendica/pull/1274.diff","patch_url":"https://github.com/friendica/friendica/pull/1274.patch"},"body":"See Issue https://github.com/friendica/friendica/issues/1218\r\n\r\nThis programming should prevent situations, where $argv and $argc aren't defined."},"comment":{"url":"https://api.github.com/repos/friendica/friendica/issues/comments/68533682","html_url":"https://github.com/friendica/friendica/pull/1274#issuecomment-68533682","issue_url":"https://api.github.com/repos/friendica/friendica/issues/1274","id":68533682,"user":{"login":"annando","id":844208,"avatar_url":"https://avatars.githubusercontent.com/u/844208?v=3","gravatar_id":"","url":"https://api.github.com/users/annando","html_url":"https://github.com/annando","followers_url":"https://api.github.com/users/annando/followers","following_url":"https://api.github.com/users/annando/following{/other_user}","gists_url":"https://api.github.com/users/annando/gists{/gist_id}","starred_url":"https://api.github.com/users/annando/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/annando/subscriptions","organizations_url":"https://api.github.com/users/annando/orgs","repos_url":"https://api.github.com/users/annando/repos","events_url":"https://api.github.com/users/annando/events{/privacy}","received_events_url":"https://api.github.com/users/annando/received_events","type":"User","site_admin":false},"created_at":"2015-01-02T15:21:08Z","updated_at":"2015-01-02T15:21:08Z","body":"I would rather rely upon the original values instead of emulating them. You never know wether there will be changes to them in future versions. But I understand your concerns.\r\n\r\nI would prefer that we find out wether we can always rely upon the $_SERVER array. Then I would change it globally. You are a PHP professional I guess. Maybe you could find that out? I don't want to make a change that would possibly break several installations."}}