1
Fork 1
mirror of https://git.lolcat.ca/lolcat/4get.git synced 2024-09-13 17:28:08 -04:00
This commit is contained in:
lolcat 2024-02-29 23:44:07 -05:00
commit d03d251091

View file

@ -68,7 +68,8 @@ continue;
$output = $output . "\tconst " . $key . " = " . type_to_string(detect_captcha_dirs()) . ";\n"; $output = $output . "\tconst " . $key . " = " . type_to_string(detect_captcha_dirs()) . ";\n";
} }
if($key === "INSTANCES") { if($key === "INSTANCES") {
$output = $output . "\tconst " . $key . " = " . type_to_string(explode(',', $val)) . ";\n"; $instances_list = gettype($val) === "string" ? explode(",", $val) : $val;
$output = $output . "\tconst " . $key . " = " . type_to_string($instances_list) . ";\n";
} }
} }