includes/common.php
changeset 593 4f9bec0d65c1
parent 592 27377179fe58
child 607 935f3799b654
equal deleted inserted replaced
592:27377179fe58 593:4f9bec0d65c1
   376   }
   376   }
   377 
   377 
   378   // All checks passed! Start the main components up.  
   378   // All checks passed! Start the main components up.  
   379   $session->start();
   379   $session->start();
   380   
   380   
       
   381   // Grab language strings from the database
       
   382   $lang->fetch();
       
   383   profiler_log('Fetched language strings');
       
   384   
       
   385   // Add all of our built in special pages
       
   386   SpecialUserFuncs_paths_init();
       
   387   SpecialPageFuncs_paths_init();
       
   388   SpecialAdmin_paths_init();
       
   389   SpecialCSS_paths_init();
       
   390   SpecialUpDownload_paths_init();
       
   391   SpecialSearch_paths_init();
       
   392   PrivateMessages_paths_init();
       
   393   SpecialGroups_paths_init();
       
   394   SpecialRecentChanges_paths_init();
       
   395   profiler_log('Added special pages');
       
   396   
   381   // This is where plugins will want to add pages from 1.1.x on out. You can still add
   397   // This is where plugins will want to add pages from 1.1.x on out. You can still add
   382   // pages at base_classes_initted but the titles won't be localized. This is because
   398   // pages at base_classes_initted but the titles won't be localized. This is because
   383   // the session manager has to be started before localization will work in the user's
   399   // the session manager has to be started before localization will work in the user's
   384   // preferred language.
   400   // preferred language.
   385   $code = $plugins->setHook('session_started');
   401   $code = $plugins->setHook('session_started');