mirror of
https://github.com/danpros/htmly.git
synced 2026-04-20 04:26:22 +05:30
Update dispatch.php
This commit is contained in:
parent
03b740c442
commit
f209c6aba6
1 changed files with 1 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ function i18n($key, $value = null)
|
|||
if (file_exists($value))
|
||||
$_i18n = parse_ini_file($value, true);
|
||||
else
|
||||
$_i18n = parse_ini_file('lang/lang-en.ini', true);
|
||||
$_i18n = parse_ini_file('lang/en_US.ini', true);
|
||||
} elseif ($value == null)
|
||||
return (isset($_i18n[$key]) ? $_i18n[$key] : '_i18n_' . $key . '_i18n_');
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue