summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-08-27 12:25:55 +0200
committerAleksander Machniak <alec@alec.pl>2012-08-27 12:25:55 +0200
commitbe71abeff913611086e4f36f6888bf57666042c5 (patch)
treef5c08c6c1b163d284c62e3bd74e5949ea029e886
parenta65ce5d3b07deb578cc4c4aba5695bcea8c07a87 (diff)
Fix deprecated function usage
-rw-r--r--program/include/rcube_utils.php4
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'];
}