Преглед изворни кода

Regression due to the fix of #1107 (revision 3647): the settings query_cache_enabled was always written as "false" in the default configuration. This is now fixed.
Warning: if you upgrade your iTop installation from the 2.2 beta, you MUST change this value back to true in the configuration file to avoid a severe slow down of the application.

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@3719 a333f486-631f-4898-b8df-5754b55c2be0

dflaven пре 9 година
родитељ
комит
62b7308f78
1 измењених фајлова са 2 додато и 0 уклоњено
  1. 2 0
      core/config.class.inc.php

+ 2 - 0
core/config.class.inc.php

@@ -1038,6 +1038,8 @@ class Config
 		$this->m_sExtAuthVariable = DEFAULT_EXT_AUTH_VARIABLE;
 		$this->m_sEncryptionKey = DEFAULT_ENCRYPTION_KEY;
 		$this->m_aCharsets = array();
+		$this->m_bLogQueries = DEFAULT_LOG_QUERIES;
+		$this->m_bQueryCacheEnabled = DEFAULT_QUERY_CACHE_ENABLED;
 		
 		$this->m_aModuleSettings = array();