fc9da10888
Generic: Repo Health / Site Health (push) Has been skipped
Generic: Repo Health / Access control (push) Successful in 1s
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 9s
Generic: Repo Health / Scripts governance (push) Has been cancelled
Generic: Repo Health / Repository health (push) Has been cancelled
Generic: Repo Health / Report Issues (push) Has been cancelled
21 lines
445 B
PHP
21 lines
445 B
PHP
<?php
|
|
/* Copyright (C) 2025 Moko Consulting <hello@mokoconsulting.tech>
|
|
|
|
This file is part of a Moko Consulting project.
|
|
|
|
SPDX-License-Identifier: GPL-3.0-or-later
|
|
*/
|
|
|
|
function console_log($output, $with_script_tags = true) {
|
|
$js_code = 'console.log(' . json_encode($output, JSON_HEX_TAG) .
|
|
');';
|
|
if ($with_script_tags) {
|
|
$js_code = '<script>' . $js_code . '</script>';
|
|
}
|
|
echo $js_code;
|
|
}
|
|
?>
|
|
<!--
|
|
Custom code included here
|
|
-->
|