Skip to content

Commit

Permalink
Merge pull request #10715 from totten/master-jdebug
Browse files Browse the repository at this point in the history
CRM-19575 - CRM_Utils_System_Joomla - Fix warning. Define JDEBUG
  • Loading branch information
totten authored Jul 22, 2017
2 parents dce8508 + a529177 commit 7d88fcc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CRM/Utils/System/Joomla.php
Original file line number Diff line number Diff line change
Expand Up @@ -559,6 +559,10 @@ public function loadBootStrap($params = array(), $loadUser = TRUE, $throwError =

jimport('joomla.application.cli');

if (!defined('JDEBUG')) {
define('JDEBUG', FALSE);
}

// CRM-14281 Joomla wasn't available during bootstrap, so hook_civicrm_config never executes.
$config = CRM_Core_Config::singleton();
CRM_Utils_Hook::config($config);
Expand Down

0 comments on commit 7d88fcc

Please sign in to comment.