mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-26 19:29:58 +03:00
fixes #1215 only activate installation language, not all available languages
This commit is contained in:
parent
c464cdc7c1
commit
ff47637ce2
1 changed files with 2 additions and 5 deletions
|
@ -359,11 +359,8 @@ INSERT INTO '.$prefixeTable.'config (param,value,comment)
|
|||
'<h1>%gallery_title%</h1>'."\n\n<p>".pwg_db_real_escape_string(l10n('Welcome to my photo gallery')).'</p>'
|
||||
);
|
||||
|
||||
// fill languages table
|
||||
foreach ($languages->fs_languages as $language_code => $fs_language)
|
||||
{
|
||||
$languages->perform_action('activate', $language_code);
|
||||
}
|
||||
// fill languages table, only activate the current language
|
||||
$languages->perform_action('activate', $language);
|
||||
|
||||
// fill $conf global array
|
||||
load_conf_from_db();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue