mirror of
https://github.com/openvk/openvk
synced 2024-11-13 10:39:24 +03:00
Get rid of yaml_parse_file in __global__::getLanguages
This commit is contained in:
parent
fcdc61fe9a
commit
05c208c3c5
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ function setLanguage($lg): void
|
||||||
|
|
||||||
function getLanguages(): array
|
function getLanguages(): array
|
||||||
{
|
{
|
||||||
return yaml_parse_file(OPENVK_ROOT . "/locales/list.yml")['list'];
|
return chandler_parse_yaml(OPENVK_ROOT . "/locales/list.yml")['list'];
|
||||||
}
|
}
|
||||||
|
|
||||||
function isLanguageAvailable($lg): bool
|
function isLanguageAvailable($lg): bool
|
||||||
|
|
Loading…
Reference in a new issue