iflrandevu/application/views/components/js_config_script.php

10 lines
139 B
PHP
Raw Normal View History

<?php
/**
* @var string $attributes
*/
?>
<script <?= $attributes ?>>
window.App.Config = <?= json_encode(js_config()) ?>
</script>