Skip to content
Snippets Groups Projects
Commit ac348d4b authored by Hanne Moa's avatar Hanne Moa
Browse files

Flip template.auto_reload to a safer default

Also add some docs.
parent 2f4653af
No related branches found
No related tags found
No related merge requests found
...@@ -704,8 +704,16 @@ $config = array( ...@@ -704,8 +704,16 @@ $config = array(
/* /*
* Templating options * Templating options
*
* By default, twig templates are not cached. To turn on template caching:
* Set 'template.cache' to an aboslute path pointing to a directory that
* SimpleSAMLphp has read and write permissions to. Then, set
* 'template.auto_reload' to false.
*
* When upgrading or changing themes, delete the contents of the cache.
*/ */
'template.auto_reload' => false, 'template.auto_reload' => true,
//'template.cache' => '',
/********************* /*********************
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment