From 774cdbaf5063965e1ad066319dfe883671d86e52 Mon Sep 17 00:00:00 2001 From: juanmanuelr Date: Mon, 11 Jun 2012 08:09:30 +0000 Subject: [PATCH] 2012-06-11 Juan Manuel Ramon * include/functions.php: Added pass of check_referer by url to solve problems with autorefresh functionality. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6470 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 5 +++++ pandora_console/include/functions.php | 3 +++ 2 files changed, 8 insertions(+) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 4e60e4159e..c85183f9b2 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2012-06-11 Juan Manuel Ramon + + * include/functions.php: Added pass of check_referer by url to + solve problems with autorefresh functionality. + 2012-06-11 Juan Manuel Ramon * include/functions_reporting.php diff --git a/pandora_console/include/functions.php b/pandora_console/include/functions.php index 939475821c..be0d531a04 100644 --- a/pandora_console/include/functions.php +++ b/pandora_console/include/functions.php @@ -32,6 +32,9 @@ function check_refererer() { if (isset($_SERVER['HTTP_REFERER'])) { $referer = $_SERVER['HTTP_REFERER']; } + else if (isset($_GET['HTTP_REFERER'])) { + $referer = $_GET['HTTP_REFERER']; + } $url = 'http://'; if ($config['https']) {