mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-26 12:51:52 +02: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 */
|
/* Create tables and insert new records for each app in this list */
|
||||||
$passing = $this->current($pass,$DEBUG);
|
$passing = $this->current($pass,$DEBUG);
|
||||||
$passing = $this->default_records($passing,$DEBUG);
|
$passing = $this->default_records($passing,$DEBUG);
|
||||||
$my_lang = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'],0,2);
|
$passing = $this->add_langs($passing,$DEBUG,array(get_var('ConfigLang',Array('POST','COOKIE')),'en'));
|
||||||
$passing = $this->add_langs($passing,$DEBUG,array($my_lang,'en'));
|
|
||||||
$this->save_minimal_config();
|
$this->save_minimal_config();
|
||||||
break;
|
break;
|
||||||
case 'upgrade':
|
case 'upgrade':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user