Unify lang and locale config files

This commit is contained in:
Kijin Sung 2016-07-03 23:58:11 +09:00
parent 038a158dc7
commit 07d97242ec
7 changed files with 26 additions and 41 deletions

View file

@ -163,7 +163,12 @@ class Lang
*/
public static function getSupportedList()
{
return (include \RX_BASEDIR . 'common/defaults/lang.php');
static $list = null;
if ($list === null)
{
$list = (include \RX_BASEDIR . 'common/defaults/locales.php');
}
return $list;
}
/**