mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 23:29:31 +01:00
restructured setup a bit:
- move most of the lang-code from setup/lang.php to phpgwapi/inc/class.translation_sql.inc.php - added a minimal-auto-configuration, so one does not need to enter the config-step at all for a running installation - added the language of the admin to the installed languages
This commit is contained in:
parent
658dfdce96
commit
c65032a812
@ -117,8 +117,7 @@
|
||||
/* Create tables and insert new records for each app in this list */
|
||||
$passing = $this->current($pass,$DEBUG);
|
||||
$passing = $this->default_records($passing,$DEBUG);
|
||||
$my_lang = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'],0,2);
|
||||
$passing = $this->add_langs($passing,$DEBUG,array($my_lang,'en'));
|
||||
$passing = $this->add_langs($passing,$DEBUG,array(get_var('ConfigLang',Array('POST','COOKIE')),'en'));
|
||||
$this->save_minimal_config();
|
||||
break;
|
||||
case 'upgrade':
|
||||
|
Loading…
Reference in New Issue
Block a user