easyappointments/application/views/components/language_script.php

10 lines
147 B
PHP
Raw Normal View History

<?php
/**
* @var string $attributes
*/
?>
<script <?= $attributes ?>>
window.App.Lang = <?= json_encode($this->lang->language) ?>
</script>