{"action":"closed","issue":{"url":"https://api.github.com/repos/torrentpier/torrentpier/issues/399","repository_url":"https://api.github.com/repos/torrentpier/torrentpier","labels_url":"https://api.github.com/repos/torrentpier/torrentpier/issues/399/labels{/name}","comments_url":"https://api.github.com/repos/torrentpier/torrentpier/issues/399/comments","events_url":"https://api.github.com/repos/torrentpier/torrentpier/issues/399/events","html_url":"https://github.com/torrentpier/torrentpier/issues/399","id":237009954,"node_id":"MDU6SXNzdWUyMzcwMDk5NTQ=","number":399,"title":"[Insight] PHP configuration should not be changed dynamically - in library/defines.php, line 69","user":{"login":"Exileum","id":2164083,"node_id":"MDQ6VXNlcjIxNjQwODM=","avatar_url":"https://avatars1.githubusercontent.com/u/2164083?v=4","gravatar_id":"","url":"https://api.github.com/users/Exileum","html_url":"https://github.com/Exileum","followers_url":"https://api.github.com/users/Exileum/followers","following_url":"https://api.github.com/users/Exileum/following{/other_user}","gists_url":"https://api.github.com/users/Exileum/gists{/gist_id}","starred_url":"https://api.github.com/users/Exileum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Exileum/subscriptions","organizations_url":"https://api.github.com/users/Exileum/orgs","repos_url":"https://api.github.com/users/Exileum/repos","events_url":"https://api.github.com/users/Exileum/events{/privacy}","received_events_url":"https://api.github.com/users/Exileum/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-06-19T20:11:39Z","updated_at":"2018-06-25T08:55:52Z","closed_at":"2018-06-25T08:55:52Z","author_association":"MEMBER","body":"**[in library/defines.php, line 69](https://github.com/torrentpier/torrentpier/blob/976ca7592ec6c96d41662341e2f314798fbea371/library/defines.php#L69)**\r\n\r\n> Changing PHP configuration dynamically through `ini_set()` may create hard to debug errors.\r\n\r\n```php\r\ndefine('LOG_SEPR', ' | ');\r\ndefine('LOG_LF', \"\\n\");\r\ndefine('LOG_MAX_SIZE', 1048576); // bytes\r\n\r\n// Error reporting\r\nini_set('error_reporting', E_ALL);\r\nini_set('display_errors', 0);\r\nini_set('log_errors', 1);\r\nini_set('error_log', LOG_DIR . '/php_err.log');\r\n\r\n// Triggers\r\n```\r\n\r\n---------------------\r\n\r\n_Posted from [SensioLabsInsight](https://insight.sensiolabs.com/projects/1a5d5098-e0b0-45c2-816a-020dfd50acaf/analyses/1511)_"}}
{"actor":{"display_login":"Exileum"}}