includes/dbal.php
changeset 331 03850e101d7f
parent 326 ab66d6d1f1f4
child 348 87e08a6e4fec
--- a/includes/dbal.php	Fri Dec 21 18:33:56 2007 -0500
+++ b/includes/dbal.php	Fri Dec 21 18:52:35 2007 -0500
@@ -164,6 +164,11 @@
           define('contentPath', "$sp/index.php?title=");
         }
         $loc = scriptPath . '/install.php';
+        define('IN_ENANO_INSTALL', 1);
+        $GLOBALS['lang'] = new Language('eng');
+        global $lang;
+        $lang->load_file('./language/english/enano.json');
+        $lang->load_file('./language/english/install.json');
         // header("Location: $loc");
         redirect($loc, 'Enano not installed', 'We can\'t seem to find an Enano installation (valid config file). You will be transferred to the installation wizard momentarily...', 3);
         exit;