{"action":"created","issue":{"url":"https://api.github.com/repos/bcit-ci/CodeIgniter4/issues/195","repository_url":"https://api.github.com/repos/bcit-ci/CodeIgniter4","labels_url":"https://api.github.com/repos/bcit-ci/CodeIgniter4/issues/195/labels{/name}","comments_url":"https://api.github.com/repos/bcit-ci/CodeIgniter4/issues/195/comments","events_url":"https://api.github.com/repos/bcit-ci/CodeIgniter4/issues/195/events","html_url":"https://github.com/bcit-ci/CodeIgniter4/issues/195","id":168161622,"number":195,"title":"Exception or disable toolbar for specific URI ","user":{"login":"mixinix","id":16125131,"avatar_url":"https://avatars.githubusercontent.com/u/16125131?v=3","gravatar_id":"","url":"https://api.github.com/users/mixinix","html_url":"https://github.com/mixinix","followers_url":"https://api.github.com/users/mixinix/followers","following_url":"https://api.github.com/users/mixinix/following{/other_user}","gists_url":"https://api.github.com/users/mixinix/gists{/gist_id}","starred_url":"https://api.github.com/users/mixinix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mixinix/subscriptions","organizations_url":"https://api.github.com/users/mixinix/orgs","repos_url":"https://api.github.com/users/mixinix/repos","events_url":"https://api.github.com/users/mixinix/events{/privacy}","received_events_url":"https://api.github.com/users/mixinix/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-28T18:15:36Z","updated_at":"2016-07-28T18:26:44Z","closed_at":null,"body":"I have tried 'filter' and used 'except' key for URI, but not working.\r\n\r\n```\r\n\tpublic $globals = [\r\n        'before' => [\r\n            //'csrf'\r\n            'auth'\r\n        ],\r\n        'after'  => [\r\n            'toolbar' => ['except' => 'source/*']\r\n        ]\r\n    ];\r\n\r\n```\r\n\r\nAnd I gotten an error:\r\n\r\n    ErrorException\r\n    \r\n        array_key_exists(): The first argument should be either a string or an integer\r\n\r\n    BASEPATH/Filters\\Filters.php at line 69\r\n\r\nIs there any suggestion?\r\n\r\nI think that is only for development mode."},"comment":{"url":"https://api.github.com/repos/bcit-ci/CodeIgniter4/issues/comments/235982701","html_url":"https://github.com/bcit-ci/CodeIgniter4/issues/195#issuecomment-235982701","issue_url":"https://api.github.com/repos/bcit-ci/CodeIgniter4/issues/195","id":235982701,"user":{"login":"lonnieezell","id":51931,"avatar_url":"https://avatars.githubusercontent.com/u/51931?v=3","gravatar_id":"","url":"https://api.github.com/users/lonnieezell","html_url":"https://github.com/lonnieezell","followers_url":"https://api.github.com/users/lonnieezell/followers","following_url":"https://api.github.com/users/lonnieezell/following{/other_user}","gists_url":"https://api.github.com/users/lonnieezell/gists{/gist_id}","starred_url":"https://api.github.com/users/lonnieezell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lonnieezell/subscriptions","organizations_url":"https://api.github.com/users/lonnieezell/orgs","repos_url":"https://api.github.com/users/lonnieezell/repos","events_url":"https://api.github.com/users/lonnieezell/events{/privacy}","received_events_url":"https://api.github.com/users/lonnieezell/received_events","type":"User","site_admin":false},"created_at":"2016-07-28T18:26:44Z","updated_at":"2016-07-28T18:26:44Z","body":"I won't have a chance to really look at it until later tonight, but I believe you need the value of 'except' to be an array:\r\n\r\n```\r\n'after'  => [\r\n    'toolbar' => ['except' => ['source/*']]\r\n]\r\n```\r\n\r\nI should probably have that attempt to do an auto-conversion to array if a string is found, though, since I can see that being a common error point."}}
{"actor":{"display_login":"lonnieezell"}}