| #253 | $user_agent = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : ''; |
| #254 | if(empty($user_agent)) { |
| #255 | return; |
| #256 | } |
| #257 | $ref = isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : ''; |
| #258 | $url = $this->current_url(); |
| #259 | if($this->judge_url($url) || $this->judge_url($ref)) { |
| #260 | return; |
| #261 | } |
| #262 | if($this->is_admin_request()) { |