1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-23 16:01:39 +02:00

Issue #1006 - Fix for previous commit breaking news SEF Urls (and possibly others)

This commit is contained in:
Cameron
2015-05-21 19:18:47 -07:00
parent 37cb23c674
commit 00bb2e2481
2 changed files with 2 additions and 2 deletions

View File

@@ -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.
}

View File

@@ -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;
}