mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 12:48:24 +01:00
Reverting back e_QUERY definition - URLs working again.
This commit is contained in:
parent
5a9f367f8d
commit
500ad596bc
@ -3229,11 +3229,10 @@ class e107
|
||||
if ($no_cbrace) $e_QUERY = str_replace(array('{', '}', '%7B', '%7b', '%7D', '%7d'), '', rawurldecode($e_QUERY));
|
||||
$e_QUERY = htmlentities(self::getParser()->post_toForm($e_QUERY));
|
||||
|
||||
define('e_QUERY', $e_QUERY);
|
||||
|
||||
// e_QUERY SHOULD NOT BE DEFINED IF IN SNIGLE ENTRY MODE OR ALL URLS WILL BE BROKEN - it's defined later within the the router
|
||||
if(!deftrue("e_SINGLE_ENTRY"))
|
||||
{
|
||||
|
||||
define('e_QUERY', $e_QUERY);
|
||||
$_SERVER['QUERY_STRING'] = e_QUERY;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user