merge r2789 from branch 2.0:

- some german language changes
- added option for smarty $conf['template_compile_check'] - default true; if false smarty doesn't check if templates need recompilation resulting in less disk accesses (good when the disk is not local)
- load_language doesnt check first for en_uk.utf-8 directory ...

git-svn-id: http://piwigo.org/svn/trunk@2790 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rvelices
2008-10-22 01:36:11 +00:00
parent 33322d4bd0
commit f7aea6eb4c
4 changed files with 31 additions and 23 deletions
+2 -1
View File
@@ -55,6 +55,7 @@ class Template {
$this->smarty = new Smarty;
$this->smarty->debugging = $conf['debug_template'];
$this->smarty->compile_check=$conf['template_compile_check'];
$compile_dir = $conf['local_data_dir'].'/templates_c';
mkgetdir( $compile_dir );
@@ -205,7 +206,7 @@ class Template {
}
return true;
}
/** return template extension if exists */
function get_extent($filename='', $handle='')
{