includes/common.php
changeset 593 4f9bec0d65c1
parent 592 27377179fe58
child 607 935f3799b654
--- a/includes/common.php	Wed Jul 02 19:36:44 2008 -0400
+++ b/includes/common.php	Wed Jul 02 22:15:55 2008 -0400
@@ -378,6 +378,22 @@
   // All checks passed! Start the main components up.  
   $session->start();
   
+  // Grab language strings from the database
+  $lang->fetch();
+  profiler_log('Fetched language strings');
+  
+  // Add all of our built in special pages
+  SpecialUserFuncs_paths_init();
+  SpecialPageFuncs_paths_init();
+  SpecialAdmin_paths_init();
+  SpecialCSS_paths_init();
+  SpecialUpDownload_paths_init();
+  SpecialSearch_paths_init();
+  PrivateMessages_paths_init();
+  SpecialGroups_paths_init();
+  SpecialRecentChanges_paths_init();
+  profiler_log('Added special pages');
+  
   // This is where plugins will want to add pages from 1.1.x on out. You can still add
   // pages at base_classes_initted but the titles won't be localized. This is because
   // the session manager has to be started before localization will work in the user's