1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-25 15:31:41 +02:00

Fixes #470 Download pagination template and SEF Urls.

This commit is contained in:
Cameron
2014-01-04 10:14:10 -08:00
parent dd140d8e69
commit 7f1a946562
3 changed files with 28 additions and 8 deletions

View File

@@ -3583,6 +3583,16 @@ class eRequest
define("e_SELF", e_REQUEST_SELF);
define("e_QUERY", $qstring);
$_SERVER['QUERY_STRING'] = e_QUERY;
if(strpos(e_QUERY,"=")!==false ) // Fix for legacyQuery using $_GET ie. ?x=y&z=1 etc.
{
parse_str(e_QUERY,$tmp);
foreach($tmp as $key=>$value)
{
$_GET[$key] = $value;
}
}
return $this;
}