function path2ban_menu_callback in path2ban 7.2
This menu_callback arrives from either the 403 or 404 responses, so it doesn't have to check if the path is valid.
1 string reference to 'path2ban_menu_callback'
- path2ban_menu in includes/
menu.inc - Implements hook_menu().
File
- includes/
menu.inc, line 35 - path2ban menu file.
Code
function path2ban_menu_callback($state = 404) {
Path2ban::destinationCheck();
// Return menu code.
$result = $state == 403 ? MENU_ACCESS_DENIED : MENU_NOT_FOUND;
return $result;
}