mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-21 00:53:04 +02:00
- huge refactoring of admin/configuration.php (reminder : tabs in code are
forbidden, only blank spaces are allowed) - in admin panel, remote site management is in "general" section and not in "configuration" section - when retrieving languages, the array keys must be the language code and not its display name (because 2 language codes might have the same display name) git-svn-id: http://piwigo.org/svn/trunk@528 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -277,7 +277,7 @@ function get_languages()
|
||||
if (is_dir($path) and !is_link($path) and file_exists($path.'/iso.txt'))
|
||||
{
|
||||
list($language_name) = @file($path.'/iso.txt');
|
||||
$languages[$language_name] = $file;
|
||||
$languages[$file] = $language_name;
|
||||
}
|
||||
}
|
||||
closedir($dir);
|
||||
|
||||
Reference in New Issue
Block a user