From 0036aa8973c4016672f1a3b2196a9743432886f8 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Fri, 28 Jul 2006 11:40:28 +0200 Subject: save language in installer The language chosen for the installer is now saved to local.php as well. darcs-hash:20060728094028-7ad00-f6fe5ce9a41b6d8c364e361aa14fbb65902468e0.gz --- install.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'install.php') diff --git a/install.php b/install.php index 46ebf5448..40d66ee4f 100644 --- a/install.php +++ b/install.php @@ -240,6 +240,7 @@ function check_data($d){ * @author Chris Smith */ function store_data($d){ + global $LC; $ok = true; $d['policy'] = (int) $d['policy']; @@ -260,6 +261,7 @@ function store_data($d){ EOT; $output .= '$conf[\'title\'] = \''.addslashes($d['title'])."';\n"; + $output .= '$conf[\'lang\'] = \''.addslashes($LC)."';\n"; if($d['acl']){ $output .= '$conf[\'useacl\'] = 1'.";\n"; $output .= '$conf[\'superuser\'] = \''.$d['superuser']."';\n"; -- cgit v1.2.3