mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-05 17:32:25 +02:00
- 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/branches/2.0@2789 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -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='')
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user