diff options
author | Hanne Moa <hanne.moa@uninett.no> | 2016-10-27 10:40:24 +0200 |
---|---|---|
committer | Hanne Moa <hanne.moa@uninett.no> | 2016-10-27 10:47:54 +0200 |
commit | ac348d4bc4fa7fd8c945d08eb706a70d982b14aa (patch) | |
tree | 937bb624741d75aa730c829ae3496aa8a3d93d83 | |
parent | 2f4653af58583d102422987bed0690dfe7f9afbe (diff) | |
download | simplesamlphp-ac348d4bc4fa7fd8c945d08eb706a70d982b14aa.zip simplesamlphp-ac348d4bc4fa7fd8c945d08eb706a70d982b14aa.tar.gz simplesamlphp-ac348d4bc4fa7fd8c945d08eb706a70d982b14aa.tar.bz2 |
Flip template.auto_reload to a safer default
Also add some docs.
-rw-r--r-- | config-templates/config.php | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/config-templates/config.php b/config-templates/config.php index 442a1d3..fcb1ffa 100644 --- a/config-templates/config.php +++ b/config-templates/config.php @@ -704,8 +704,16 @@ $config = array( /* * 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' => '', /********************* |