2012-06-11 Juan Manuel Ramon <juanmanuel.ramon@artica.es>

* 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
This commit is contained in:
juanmanuelr 2012-06-11 08:09:30 +00:00
parent 67ec5cfe38
commit 774cdbaf50
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2012-06-11 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions.php: Added pass of check_referer by url to
solve problems with autorefresh functionality.
2012-06-11 Juan Manuel Ramon <juanmanuel.ramon@artica.es> 2012-06-11 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_reporting.php * include/functions_reporting.php

View File

@ -32,6 +32,9 @@ function check_refererer() {
if (isset($_SERVER['HTTP_REFERER'])) { if (isset($_SERVER['HTTP_REFERER'])) {
$referer = $_SERVER['HTTP_REFERER']; $referer = $_SERVER['HTTP_REFERER'];
} }
else if (isset($_GET['HTTP_REFERER'])) {
$referer = $_GET['HTTP_REFERER'];
}
$url = 'http://'; $url = 'http://';
if ($config['https']) { if ($config['https']) {