mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +02:00
Reverting back e_QUERY definition - URLs working again.
This commit is contained in:
@@ -3229,11 +3229,10 @@ class e107
|
|||||||
if ($no_cbrace) $e_QUERY = str_replace(array('{', '}', '%7B', '%7b', '%7D', '%7d'), '', rawurldecode($e_QUERY));
|
if ($no_cbrace) $e_QUERY = str_replace(array('{', '}', '%7B', '%7b', '%7D', '%7d'), '', rawurldecode($e_QUERY));
|
||||||
$e_QUERY = htmlentities(self::getParser()->post_toForm($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"))
|
if(!deftrue("e_SINGLE_ENTRY"))
|
||||||
{
|
{
|
||||||
|
define('e_QUERY', $e_QUERY);
|
||||||
$_SERVER['QUERY_STRING'] = e_QUERY;
|
$_SERVER['QUERY_STRING'] = e_QUERY;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user