paulbsd-salt/states/dokuwiki/templates/local.php.j2

10 lines
252 B
Plaintext
Raw Normal View History

2020-07-10 00:58:55 +02:00
<?php
{%- from "dokuwiki/map.jinja" import dokuwiki with context %}
{%- for key, value in dokuwiki.config.items() %}
{%- if value is string %}
$conf['{{ key }}'] = "{{ value }}";
{%- else %}
$conf['{{ key }}'] = {{ value }};
{%- endif %}
{%- endfor %}