mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-07 12:18:46 +00:00
fixed escape code unescaping in language files, close #1474
This commit is contained in:
parent
43be64baed
commit
f783789e5a
@ -95,7 +95,7 @@ class BaseLang{
|
|||||||
|
|
||||||
protected static function loadLang(string $path, array &$d){
|
protected static function loadLang(string $path, array &$d){
|
||||||
if(file_exists($path)){
|
if(file_exists($path)){
|
||||||
$d = parse_ini_file($path, false, INI_SCANNER_RAW);
|
$d = array_map('stripcslashes', parse_ini_file($path, false, INI_SCANNER_RAW));
|
||||||
return true;
|
return true;
|
||||||
}else{
|
}else{
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user