aboutsummaryrefslogtreecommitdiffstats
path: root/include/config_default.inc.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2008-10-22 01:36:11 +0000
committerrvelices <rv-github@modusoptimus.com>2008-10-22 01:36:11 +0000
commitf7aea6eb4c6a440a88e46dd5e081c1d4327440b9 (patch)
tree9fc9062a639895f07ec270d0838514fdab4b18b0 /include/config_default.inc.php
parent33322d4bd0f5e957a866926ff891c662ca825475 (diff)
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
Diffstat (limited to '')
-rw-r--r--include/config_default.inc.php20
1 files changed, 12 insertions, 8 deletions
diff --git a/include/config_default.inc.php b/include/config_default.inc.php
index 7a145709e..033f9cec8 100644
--- a/include/config_default.inc.php
+++ b/include/config_default.inc.php
@@ -411,7 +411,7 @@ $conf['remember_me_length'] = 5184000;
$conf['session_length'] = 3600;
// +-----------------------------------------------------------------------+
-// | debug |
+// | debug/performance |
// +-----------------------------------------------------------------------+
// show_queries : for debug purpose, show queries and execution times
@@ -430,6 +430,17 @@ $conf['debug_template'] = false;
// die_on_sql_error: if an SQL query fails, should everything stop?
$conf['die_on_sql_error'] = true;
+// 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;
+
+// This tells Smarty whether to check for recompiling or not. Recompiling
+// does not need to happen unless a template is changed. false results in
+// better performance.
+$conf['template_compile_check'] = true;
+
// +-----------------------------------------------------------------------+
// | authentication |
// +-----------------------------------------------------------------------+
@@ -695,11 +706,4 @@ $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