@@ 88-92 (lines=5) @@ | ||
85 | } |
|
86 | $exit = false; |
|
87 | switch ($level) { |
|
88 | case self::REVENGE_PERMANENT: |
|
89 | header('HTTP/1.1 301 Moved Permanently'); |
|
90 | header('Location: '.$this->getRedirectUrl()); |
|
91 | $exit = true; |
|
92 | break; |
|
93 | case self::REVENGE: |
|
94 | header('HTTP/1.1 302 Moved Temporarily'); |
|
95 | header('Location: '.$this->getRedirectUrl()); |
|
@@ 93-97 (lines=5) @@ | ||
90 | header('Location: '.$this->getRedirectUrl()); |
|
91 | $exit = true; |
|
92 | break; |
|
93 | case self::REVENGE: |
|
94 | header('HTTP/1.1 302 Moved Temporarily'); |
|
95 | header('Location: '.$this->getRedirectUrl()); |
|
96 | $exit = true; |
|
97 | break; |
|
98 | case self::DENY: |
|
99 | header('HTTP/1.1 500 Internal Server Error'); |
|
100 | $exit = true; |