mirror of
https://git.lolcat.ca/lolcat/4get.git
synced 2024-11-08 17:43:07 -05:00
Merge pull request 'unescape forward slashes for urls in gen_config' (#39) from feature/fix_escape_urls into master
Reviewed-on: https://git.lolcat.ca/lolcat/4get/pulls/39
This commit is contained in:
commit
b078751e5b
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue