iflrandevu/application/views/components/config_script.php

9 lines
139 B
PHP

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