Update language.php
This commit is contained in:
parent
16b6b76507
commit
3641ab8c7d
@ -276,8 +276,7 @@ function ta($k){
|
||||
function tf() {
|
||||
|
||||
$r = "";
|
||||
$lang = str_replace('-', '_', App::$language);
|
||||
$file = "view/$lang/hstrings.php";
|
||||
$file = "view/".str_replace('-', '_', App::$language)."/hstrings.php";
|
||||
if(file_exists($file))
|
||||
$r = trim(shell_exec("sed -n '5p' ".$file." | tr -d '$'"));
|
||||
return $r != "" ? $r : "return 0;";
|
||||
|
Reference in New Issue
Block a user