mirror of
https://git.lolcat.ca/lolcat/4get.git
synced 2024-11-14 03:49:48 +01:00
unescape forward slashes for urls in gen_config
This commit is contained in:
parent
c85d132211
commit
2c95931d43
|
@ -28,7 +28,7 @@ function type_to_string($n) {
|
|||
return "\"$n\"";
|
||||
}
|
||||
if ($type === "array") {
|
||||
return json_encode($n);
|
||||
return json_encode($n, JSON_UNESCAPED_SLASHES);
|
||||
}
|
||||
return $n;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue