{"action":"created","issue":{"url":"https://api.github.com/repos/spootTheLousy/saguaro/issues/60","labels_url":"https://api.github.com/repos/spootTheLousy/saguaro/issues/60/labels{/name}","comments_url":"https://api.github.com/repos/spootTheLousy/saguaro/issues/60/comments","events_url":"https://api.github.com/repos/spootTheLousy/saguaro/issues/60/events","html_url":"https://github.com/spootTheLousy/saguaro/issues/60","id":94529962,"number":60,"title":"Majority of Apache error logs are about undefined constants.","user":{"login":"RePod","id":7897871,"avatar_url":"https://avatars.githubusercontent.com/u/7897871?v=3","gravatar_id":"","url":"https://api.github.com/users/RePod","html_url":"https://github.com/RePod","followers_url":"https://api.github.com/users/RePod/followers","following_url":"https://api.github.com/users/RePod/following{/other_user}","gists_url":"https://api.github.com/users/RePod/gists{/gist_id}","starred_url":"https://api.github.com/users/RePod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RePod/subscriptions","organizations_url":"https://api.github.com/users/RePod/orgs","repos_url":"https://api.github.com/users/RePod/repos","events_url":"https://api.github.com/users/RePod/events{/privacy}","received_events_url":"https://api.github.com/users/RePod/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-12T03:39:32Z","updated_at":"2015-07-19T12:12:32Z","closed_at":null,"body":"At the time of writing, approximately 83% of my Apache error log is filled with these lines:\r\n\r\n```\r\nPHP Notice: Use of undefined constant DEBUG_MODE - assumed 'DEBUG_MODE' in saguaro/config.php on line 150, referer: saguaro/imgboard.php?mode=admin\r\n```\r\n\r\nWhile these could potentially be suppressed via the Apache/PHP configs, they shouldn't be happening in the first place."},"comment":{"url":"https://api.github.com/repos/spootTheLousy/saguaro/issues/comments/122653733","html_url":"https://github.com/spootTheLousy/saguaro/issues/60#issuecomment-122653733","issue_url":"https://api.github.com/repos/spootTheLousy/saguaro/issues/60","id":122653733,"user":{"login":"Apogate","id":8524639,"avatar_url":"https://avatars.githubusercontent.com/u/8524639?v=3","gravatar_id":"","url":"https://api.github.com/users/Apogate","html_url":"https://github.com/Apogate","followers_url":"https://api.github.com/users/Apogate/followers","following_url":"https://api.github.com/users/Apogate/following{/other_user}","gists_url":"https://api.github.com/users/Apogate/gists{/gist_id}","starred_url":"https://api.github.com/users/Apogate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Apogate/subscriptions","organizations_url":"https://api.github.com/users/Apogate/orgs","repos_url":"https://api.github.com/users/Apogate/repos","events_url":"https://api.github.com/users/Apogate/events{/privacy}","received_events_url":"https://api.github.com/users/Apogate/received_events","type":"User","site_admin":false},"created_at":"2015-07-19T12:12:32Z","updated_at":"2015-07-19T12:12:32Z","body":"To fix this, I suggest converting config values from the current \n\n    define(BOARD, 'wew');\nto something nicer such as\n\n    $config['BOARD'] = 'wew'];"}}