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

10 lines
252 B
Plaintext
Raw Permalink Normal View History

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