aboutsummaryrefslogtreecommitdiffstats
path: root/include/config_default.inc.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2008-05-08 01:13:13 +0000
committerrvelices <rv-github@modusoptimus.com>2008-05-08 01:13:13 +0000
commita2087d46d2ddf577151b072f7bbce58fea735050 (patch)
tree5e8176ea74d35465908a0e4cd1959840635917aa /include/config_default.inc.php
parent5dbad41e2e125b6a55e85c5588d96b68f6486ef4 (diff)
2 template features:
- added a {html_head} smarty block - allow any template file to add content just before </head> tag (handy for plugins and allows to move more presentation logic to tpls); the content is usually <style> or <link> which must appear inside html <head> tag - by config allow some language strings to be replaced during template compilation -> better performance. drawback: changes in the language file will not be propagated until template is recompiled. git-svn-id: http://piwigo.org/svn/trunk@2334 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--include/config_default.inc.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/config_default.inc.php b/include/config_default.inc.php
index 7a2fcdea8..5d2e77aa3 100644
--- a/include/config_default.inc.php
+++ b/include/config_default.inc.php
@@ -690,4 +690,11 @@ $conf['light_slideshow'] = true;
// the local data directory is used to store data such as compiled templates
// or other plugin variables etc
$conf['local_data_dir'] = dirname(dirname(__FILE__)).'/_data';
-?>
+
+// if true, some language strings are replaced during template compilation
+// (insted of template output). this results in better performance. however
+// any change in the language file will not be propagated until you purge
+// the compiled templates from the admin / maintenance menu
+$conf['compiled_template_cache_language'] = false;
+
+?> \ No newline at end of file