diff options
author | Andreas Gohr <andi@splitbrain.org> | 2006-07-28 11:40:28 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2006-07-28 11:40:28 +0200 |
commit | 0036aa8973c4016672f1a3b2196a9743432886f8 (patch) | |
tree | cd1a0d50a6c4b558e397c4030e58752f8aba5dba | |
parent | 8af2e4bbb77efbfe391088f7de187db3262874cb (diff) | |
download | rpg-0036aa8973c4016672f1a3b2196a9743432886f8.tar.gz rpg-0036aa8973c4016672f1a3b2196a9743432886f8.tar.bz2 |
save language in installer
The language chosen for the installer is now saved to local.php as well.
darcs-hash:20060728094028-7ad00-f6fe5ce9a41b6d8c364e361aa14fbb65902468e0.gz
-rw-r--r-- | install.php | 2 |
1 files changed, 2 insertions, 0 deletions
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 <chris@jalakai.co.uk> */ 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"; |