javascript-config.html.twig 401 B

123456789
  1. <script type="text/javascript">
  2. window.GravAdmin = window.GravAdmin || {};
  3. window.GravAdmin.config = {
  4. base_url_relative: '{{ base_url_relative }}',
  5. param_sep: '{{ config.system.param_sep }}',
  6. enable_auto_updates_check: '{{ config.plugins.admin.enable_auto_updates_check }}',
  7. admin_timeout: '{{ config.plugins.admin.session.timeout ?: 1800 }}'
  8. };
  9. </script>