CRM-20932 - CRM_Utils_System_Joomla - Fix warning. Define JDEBUG
[civicrm-core.git] / CRM / Utils / System / Joomla.php
index 5f3995c3d03094eb0d13285de9728136d3034cb9..5d7b826457b26bfa7e1822fa13de18e8f10988e0 100644 (file)
@@ -559,6 +559,10 @@ class CRM_Utils_System_Joomla extends CRM_Utils_System_Base {
 
     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);