Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
justinfreeman (Agileware)
Core
Commits
a6ebd0ca
Commit
a6ebd0ca
authored
11 years ago
by
Kurund Jalmi
Browse files
Options
Downloads
Plain Diff
Merge pull request #1388 from dlobo/CRM-13064
CRM-13064
parents
f0985b26
2ba175b6
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CRM/Core/Config.php
+8
-2
8 additions, 2 deletions
CRM/Core/Config.php
CRM/Core/Config/Defaults.php
+1
-0
1 addition, 0 deletions
CRM/Core/Config/Defaults.php
CRM/Core/I18n.php
+2
-1
2 additions, 1 deletion
CRM/Core/I18n.php
with
11 additions
and
3 deletions
CRM/Core/Config.php
+
8
−
2
View file @
a6ebd0ca
...
...
@@ -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
);
}
...
...
This diff is collapsed.
Click to expand it.
CRM/Core/Config/Defaults.php
+
1
−
0
View file @
a6ebd0ca
...
...
@@ -41,6 +41,7 @@
*
*/
class
CRM_Core_Config_Defaults
{
function
setCoreVariables
()
{
global
$civicrm_root
;
...
...
This diff is collapsed.
Click to expand it.
CRM/Core/I18n.php
+
2
−
1
View file @
a6ebd0ca
...
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment