fix typo
This commit is contained in:
parent
91f6dd2a8b
commit
077d030757
|
@ -12,7 +12,6 @@ $lang_file = '/src/locales/'.$lang.'.json';
|
||||||
$locales = (object)[];
|
$locales = (object)[];
|
||||||
if (file_exists($lang_file))
|
if (file_exists($lang_file))
|
||||||
$locales = json_decode(file_get_contents($lang_file), true);
|
$locales = json_decode(file_get_contents($lang_file), true);
|
||||||
$locales;
|
|
||||||
|
|
||||||
function l($key, $default='') {
|
function l($key, $default='') {
|
||||||
global $locales;
|
global $locales;
|
||||||
|
|
Loading…
Reference in New Issue