1: <?php
2:
3: // define it as you like :-)
4:
5: define('PROTECTOR_BADIP_REDIRECTION_URI', 'http://yahoo.com/');
6:
7: /**
8: * Class protector_precommon_badip_redirection
9: */
10: class Protector_precommon_badip_redirection extends ProtectorFilterAbstract
11: {
12: public function execute()
13: {
14: header('Location: ' . PROTECTOR_BADIP_REDIRECTION_URI);
15: exit;
16: }
17: }
18: