mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-20 03:39:56 +09:00
Unify lang and locale config files
This commit is contained in:
parent
038a158dc7
commit
07d97242ec
7 changed files with 26 additions and 41 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue