Index: branches/unlabeled/unlabeled-1.155.2/core/kernel/application.php =================================================================== diff -u -r5770 -r5779 --- branches/unlabeled/unlabeled-1.155.2/core/kernel/application.php (.../application.php) (revision 5770) +++ branches/unlabeled/unlabeled-1.155.2/core/kernel/application.php (.../application.php) (revision 5779) @@ -241,20 +241,21 @@ $this->HttpQuery->AfterInit(); - $this->UnitConfigReader->AfterConfigRead(); - $this->LoadCache(); $this->InitConfig(); - // Module items are recalled during url parsing & PhrasesCache is needed already there, + $this->Phrases->Init('phrases'); + + $this->UnitConfigReader->AfterConfigRead(); + + + /*// Module items are recalled during url parsing & PhrasesCache is needed already there, // because it's used in their build events. That's why phrases cache initialization is // called from kHTTPQuery in case when mod_rewrite is used if (!$this->RewriteURLs()) { $this->Phrases = new PhrasesCache(); - } + }*/ - $this->Phrases->Init('phrases'); - if(!$this->RecallVar('UserGroups')) { $session =& $this->recallObject('Session'); $user_groups = trim($session->GetField('GroupList'), ',');