- added capacity in plugin tool to take urls

- test front end integration ok
This commit is contained in:
asus
2024-02-23 10:52:02 +01:00
parent fea195638b
commit 7cfa2e6351
6 changed files with 144 additions and 94 deletions

View File

@@ -5,7 +5,7 @@
https://stackify.com/how-to-log-to-console-in-php/
*/
function console_log($output) {
if (CONSOLE_OFF)
if (FIPFCARD_CONSOLE_OFF)
return;
$json_output = json_encode($output, JSON_HEX_TAG);
$js_code = '<script>console.log(' . $json_output . ');</script>';