diff options
author | Aleksander Machniak <alec@alec.pl> | 2012-08-27 12:25:55 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2012-08-27 12:25:55 +0200 |
commit | be71abeff913611086e4f36f6888bf57666042c5 (patch) | |
tree | f5c08c6c1b163d284c62e3bd74e5949ea029e886 /program | |
parent | a65ce5d3b07deb578cc4c4aba5695bcea8c07a87 (diff) |
Fix deprecated function usage
Diffstat (limited to 'program')
-rw-r--r-- | program/include/rcube_utils.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/program/include/rcube_utils.php b/program/include/rcube_utils.php index aa748dc7f..23bf556e4 100644 --- a/program/include/rcube_utils.php +++ b/program/include/rcube_utils.php @@ -200,8 +200,8 @@ class rcube_utils 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']; } |