Index: trunk/core/kernel/application.php =================================================================== diff -u -r935 -r937 --- trunk/core/kernel/application.php (.../application.php) (revision 935) +++ trunk/core/kernel/application.php (.../application.php) (revision 937) @@ -162,9 +162,15 @@ $this->registerDefaultClasses(); - // to read configs before doing any recallObject + // 1. to read configs before doing any recallObject $config_reader =& $this->recallObject('kUnitConfigReader'); + + // 2. to virtually create SID and T application vars just + // in case if they are needed before ProcessRequest method call + $event_manager =& $this->recallObject('EventManager'); + $event_manager->processQueryString(); + $this->Phrases =& new PhrasesCache($this->RecallVar('LanguageId', DEFAULT_LANGUAGE_ID)); $this->ValidateLogin(); // TODO: write that method