wip renaming plugins elements

This commit is contained in:
asus
2024-02-12 10:13:02 +01:00
parent 0113500b13
commit ff7a9423a1
27 changed files with 458 additions and 200 deletions

View File

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