Files
MokoCassiopeia/templates/moko-cassiopeia/custom.php
Jonathan Miller 2e79807dbb v1.13
- Fixed CSS
- Cleaned up Table of Contents
- Deleted conflicting default.php in com_content
2025-08-09 22:30:55 -05:00

23 lines
696 B
PHP

<?php
/**
* @package Joomla.Site
* @subpackage Templates.moko-cassiopeia
* @file /templates/moko-cassiopeia/custom.php
*
* @copyright © 2025 Moko Consulting — All Rights Reserved
* @license GNU General Public License version 2 or later; see LICENSE.txt
*
* Website: https://mokoconsulting.tech
* Email: hello@mokoconsulting.tech
* Phone: +1 (931) 279-6313
*/
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