1: <?php
2:
3: /**
4: * Class protector_precommon_bwlimit_errorlog
5: */
6: class Protector_precommon_bwlimit_errorlog extends ProtectorFilterAbstract
7: {
8: public function execute()
9: {
10: header('HTTP/1.0 503 Service unavailable');
11: header('Retry-After: 600');
12:
13: echo _MD_PROTECTOR_BANDWIDTHLIMITED;
14: error_log('Protector: bwlimit ' . @$_SERVER['REMOTE_ADDR'], 0);
15: exit;
16: }
17: }
18: