summaryrefslogtreecommitdiff
path: root/models/config.php
diff options
context:
space:
mode:
authorFrédéric Guillot <contact@fredericguillot.com>2014-02-08 17:11:17 -0500
committerFrédéric Guillot <contact@fredericguillot.com>2014-02-08 17:11:17 -0500
commitf93ce1fd7fca1a7229a9c9da4f1f4a3f98823524 (patch)
tree583a1786e7a1c8c89eae14ec5326205dbe6b67be /models/config.php
parent1ae99f6a85743255c918af5c8321818a580b09cc (diff)
Minors improvements
Diffstat (limited to 'models/config.php')
-rw-r--r--models/config.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/models/config.php b/models/config.php
index d854047d..4d39af87 100644
--- a/models/config.php
+++ b/models/config.php
@@ -11,10 +11,14 @@ class Config extends Base
public function getLanguages()
{
- return array(
+ $languages = array(
'en_US' => t('English'),
'fr_FR' => t('French'),
);
+
+ asort($languages);
+
+ return $languages;
}
public function get($name, $default_value = '')