A minor installer fix to get the installer to run again. TODO: fix bad call to $lang->get() in preinstallation environment set up by index.php
authorDan
Fri, 21 Dec 2007 18:33:56 -0500
changeset 330 c94af5b5c40f
parent 329 0437a7cf1acc
child 331 03850e101d7f
A minor installer fix to get the installer to run again. TODO: fix bad call to $lang->get() in preinstallation environment set up by index.php
install.php
--- a/install.php	Fri Dec 21 18:21:20 2007 -0500
+++ b/install.php	Fri Dec 21 18:33:56 2007 -0500
@@ -1076,6 +1076,10 @@
     break;
 }
 
+// Initialize language support
+$lang = new Language('eng');
+$lang->load_file('./language/english/install.json');
+
 $template = new template_nodb();
 $template->load_theme('stpatty', 'shamrock', false);
 
@@ -1152,6 +1156,8 @@
   }
 }
 
+$template->header();
+
 switch($_GET['mode'])
 { 
   default: