Index: branches/5.2.x/core/kernel/utility/http_query.php =================================================================== diff -u -N -r15137 -r15233 --- branches/5.2.x/core/kernel/utility/http_query.php (.../http_query.php) (revision 15137) +++ branches/5.2.x/core/kernel/utility/http_query.php (.../http_query.php) (revision 15233) @@ -1,6 +1,6 @@ removeSpecials(); ini_set('magic_quotes_gpc', 0); + $this->Application->UrlManager->LoadStructureTemplateMapping(); + $this->AfterInit(); } Index: branches/5.2.x/core/kernel/application.php =================================================================== diff -u -N -r15227 -r15233 --- branches/5.2.x/core/kernel/application.php (.../application.php) (revision 15227) +++ branches/5.2.x/core/kernel/application.php (.../application.php) (revision 15233) @@ -1,6 +1,6 @@ Debugger->appendTimestamp('Processed Session'); } - $this->UrlManager->LoadStructureTemplateMapping(); - $this->Session->ValidateExpired(); // needs mod_rewrite url already parsed to keep user at proper template after session expiration if ( defined('DEBUG_MODE') && $this->isDebugMode() ) {