Permalink
Browse files

Fix deprecated function usage

  • Loading branch information...
1 parent a65ce5d commit be71abeff913611086e4f36f6888bf57666042c5 @alecpl alecpl committed Aug 27, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 program/include/rcube_utils.php
@@ -200,8 +200,8 @@ public static function check_ip($ip)
public static function check_referer()
{
$uri = parse_url($_SERVER['REQUEST_URI']);
- $referer = parse_url(rcube_request_header('Referer'));
- return $referer['host'] == rcube_request_header('Host') && $referer['path'] == $uri['path'];
+ $referer = parse_url(self::request_header('Referer'));
+ return $referer['host'] == self::request_header('Host') && $referer['path'] == $uri['path'];
}

0 comments on commit be71abe

Please sign in to comment.