fixed escape code unescaping in language files, close #1474

This commit is contained in:
Dylan K. Taylor 2017-10-18 20:43:35 +01:00
parent 43be64baed
commit f783789e5a

View File

@ -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;