mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-05-18 07:16:11 +02:00
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
This commit is contained in:
@@ -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;
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user