Index: branches/5.2.x/core/kernel/managers/request_manager.php =================================================================== diff -u -N -r14665 -r14699 --- branches/5.2.x/core/kernel/managers/request_manager.php (.../request_manager.php) (revision 14665) +++ branches/5.2.x/core/kernel/managers/request_manager.php (.../request_manager.php) (revision 14699) @@ -1,6 +1,6 @@ processed ) { + return; + } + + $this->dumpRequest(); $this->processOpener(); $events = $this->getEvents(); @@ -52,9 +65,27 @@ $this->Application->SetVar('events', $events); $this->Application->SetVar('passed', implode(',', $all_passed)); + + $this->Application->EventManager->runAgents(reBEFORE); + + $this->processed = true; } /** + * Dumps user request to debugger (only when enabled) + * + * @return void + * @access protected + */ + protected function dumpRequest() + { + if ( defined('DEBUG_MODE') && $this->Application->isDebugMode() && kUtil::constOn('DBG_SHOW_HTTPQUERY') ) { + $this->Application->Debugger->appendHTML('HTTPQuery:'); + $this->Application->Debugger->dumpVars($this->Application->HttpQuery->_Params); + } + } + + /** * Returns event names, given in request (post, get) * * @return Array