mirror of
https://git.lolcat.ca/lolcat/4get
synced 2025-12-20 13:24:01 +00:00
unescape forward slashes for urls in gen_config
This commit is contained in:
@@ -28,7 +28,7 @@ function type_to_string($n) {
|
|||||||
return "\"$n\"";
|
return "\"$n\"";
|
||||||
}
|
}
|
||||||
if ($type === "array") {
|
if ($type === "array") {
|
||||||
return json_encode($n);
|
return json_encode($n, JSON_UNESCAPED_SLASHES);
|
||||||
}
|
}
|
||||||
return $n;
|
return $n;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user