Image in Item List
Installation and Configuration
usually only _user and _profile start with an _. Try removing it.
--edit --
or try $item._item_id
updated by @michael: 04/24/19 06:40:40PM
/**
* Parse URL check for auto-banning
* @param array $_data incoming data array
* @param array $_user current user info
* @param array $_conf Global config
* @param array $_args additional info about the module
* @param string $event Event Trigger name
* @return array
*/
function jrBanned_parse_url_listener($_data, $_user, $_conf, $_args, $event)
{
if (jrCore_get_config_value('jrBanned', 'auto_block', 'off') === 'on') {
// We are auto blocking... is this a honeypot page?
if (jrBanned_is_honeypot_url($_data['_uri'])) {
header('HTTP/1.0 403 Forbidden');
jrCore_notice('error', 'You do not have permission to access this server', false);
exit;
}
}
return $_data;
}
$ip = jrCore_get_ip();