fixes the escape code in config values

This commit is contained in:
nadrad 2022-11-25 14:03:22 +01:00
parent 828df2bc5d
commit 16c5185ba1

14
h-m-m
View file

@ -202,10 +202,16 @@ const insert_child = 1;
function config(&$mm, $key, $default)
{
$mm[$key] =
$mm['arguments'][$key]
?? $mm['env'][$key]
?? $mm['config'][$key]
?? $default;
str_replace
(
'\033'
,"\033"
,
$mm['arguments'][$key]
?? $mm['env'][$key]
?? $mm['config'][$key]
?? $default
);
}