From 00bb2e24817bd08dec718498cce3557be035f2d4 Mon Sep 17 00:00:00 2001 From: Cameron Date: Thu, 21 May 2015 19:18:47 -0700 Subject: [PATCH] Issue #1006 - Fix for previous commit breaking news SEF Urls (and possibly others) --- e107_handlers/e107_class.php | 3 +-- index.php | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/e107_handlers/e107_class.php b/e107_handlers/e107_class.php index ea2f0825c..d6b3f2e50 100644 --- a/e107_handlers/e107_class.php +++ b/e107_handlers/e107_class.php @@ -212,7 +212,6 @@ class e107 'userlogin' => '{e_HANDLER}login.php', 'validatorClass' => '{e_HANDLER}validator_class.php', 'xmlClass' => '{e_HANDLER}xml_class.php', - 'e107MailManager' => '{e_HANDLER}mail_manager_class.php' ); /** @@ -3579,7 +3578,7 @@ class e107 } else { - define('e_QUERY', ''); + // define('e_QUERY', ''); // breaks news sef-urls and possibly others. Moved to index.php. } diff --git a/index.php b/index.php index f9220f72c..103df8a35 100644 --- a/index.php +++ b/index.php @@ -125,6 +125,7 @@ if(file_exists($file)) { define('e_CURRENT_PLUGIN', $plug); + define('e_QUERY', $query); // do not add to e107_class.php include_once($file); exit; }