Skip to content
Snippets Groups Projects
Commit a6ebd0ca authored by Kurund Jalmi's avatar Kurund Jalmi
Browse files

Merge pull request #1388 from dlobo/CRM-13064

CRM-13064
parents f0985b26 2ba175b6
Branches
Tags
No related merge requests found
......@@ -193,10 +193,16 @@ class CRM_Core_Config extends CRM_Core_Config_Variables {
//initialize variables. for gencode we cannot load from the
//db since the db might not be initialized
if ($loadFromDB) {
// initialize stuff from the settings file
self::$_singleton->setCoreVariables();
self::$_singleton->_initVariables();
// retrieve and overwrite stuff from the settings file
self::$_singleton->setCoreVariables();
// I dont think we need to do this twice
// however just keeping this commented for now in 4.4
// in case we hit any issues - CRM-13064
// We can safely delete this once we release 4.4.4
// self::$_singleton->setCoreVariables();
}
$cache->set('CRM_Core_Config' . CRM_Core_Config::domainID(), self::$_singleton);
}
......
......@@ -41,6 +41,7 @@
*
*/
class CRM_Core_Config_Defaults {
function setCoreVariables() {
global $civicrm_root;
......
......@@ -35,7 +35,8 @@
class CRM_Core_I18n {
/**
* A PHP-gettext instance for string translation; should stay null if the strings are not to be translated (en_US).
* A PHP-gettext instance for string translation;
* should stay null if the strings are not to be translated (en_US).
*/
private $_phpgettext = NULL;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment