From 182f835de018cf738e1c0e1adcca104aeae884c2 Mon Sep 17 00:00:00 2001 From: northwind2 Date: Fri, 28 Feb 2014 21:31:01 +0000 Subject: [PATCH] CRM-14281 call hook_civicrm_config() in loadbootstrap() ---------------------------------------- * CRM-14281: hook_civicrm_config does not get called when using Joomla bootstrap http://issues.civicrm.org/jira/browse/CRM-14281 --- CRM/Utils/System/Joomla.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CRM/Utils/System/Joomla.php b/CRM/Utils/System/Joomla.php index db2792c83f..e9e3b3d0a7 100644 --- a/CRM/Utils/System/Joomla.php +++ b/CRM/Utils/System/Joomla.php @@ -640,6 +640,10 @@ class CRM_Utils_System_Joomla extends CRM_Utils_System_Base { } jimport('joomla.application.cli'); + + // CRM-14281 Joomla wasn't available during bootstrap, so hook_civicrm_config never executes. + $config = CRM_Core_Config::singleton(); + CRM_Utils_Hook::config($config); return TRUE; } -- 2.25.1