includes/common.php
changeset 592 27377179fe58
parent 590 03a60844c7c5
child 593 4f9bec0d65c1
--- a/includes/common.php	Mon Jun 30 17:22:29 2008 -0400
+++ b/includes/common.php	Wed Jul 02 19:36:44 2008 -0400
@@ -138,20 +138,10 @@
 require_once(ENANO_ROOT.'/includes/template.php');
 require_once(ENANO_ROOT.'/includes/plugins.php');
 require_once(ENANO_ROOT.'/includes/lang.php');
-require_once(ENANO_ROOT.'/includes/comment.php');
-require_once(ENANO_ROOT.'/includes/wikiformat.php');
-require_once(ENANO_ROOT.'/includes/diff.php');
 require_once(ENANO_ROOT.'/includes/render.php');
-require_once(ENANO_ROOT.'/includes/stats.php');
-require_once(ENANO_ROOT.'/includes/pageutils.php');
-require_once(ENANO_ROOT.'/includes/js-compressor.php');
 require_once(ENANO_ROOT.'/includes/rijndael.php');
 require_once(ENANO_ROOT.'/includes/email.php');
-require_once(ENANO_ROOT.'/includes/search.php');
-require_once(ENANO_ROOT.'/includes/json.php');
 require_once(ENANO_ROOT.'/includes/json2.php');
-require_once(ENANO_ROOT.'/includes/math.php');
-require_once(ENANO_ROOT.'/includes/wikiengine/Tables.php');
 require_once(ENANO_ROOT.'/includes/pageprocess.php');
 require_once(ENANO_ROOT.'/includes/tagcloud.php');
 
@@ -198,6 +188,8 @@
 // END BACKGROUND AND ENVIRONMENT CHECKS
 //
 
+profiler_log('Background/environment checks done');
+
 //
 // MAIN API INITIALIZATION
 //
@@ -308,7 +300,6 @@
         <pre>
 &lt;?php
 define("ENANO_ALLOW_LOAD_NOLANG", 1);
-$_GET["title"] = "langinstall";
 require("includes/common.php");
 install_language("eng", "English", "English", ENANO_ROOT . "/language/english/enano.json");</pre>');
   }