Add configuration options to adjust the behavior of recent items stack: 1.) Define...
[civicrm-core.git] / extern / ipn.php
index 752bb1a1c41f3cc9be39d2f362cf1ff6153a82d3..30324752285b2057cabc093be70ff54aedd17aa1 100644 (file)
@@ -3,7 +3,7 @@
  +--------------------------------------------------------------------+
  | CiviCRM version 4.7                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2015                                |
+ | Copyright CiviCRM LLC (c) 2004-2016                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
@@ -27,7 +27,7 @@
 
 /**
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2015
+ * @copyright CiviCRM LLC (c) 2004-2016
  * $Id$
  */
 
@@ -52,6 +52,10 @@ else {
   // @todo upgrade standard per Pro
 }
 try {
+  //CRM-18245
+  if ($config->userFramework == 'Joomla') {
+    CRM_Utils_System::loadBootStrap();
+  }
   $paypalIPN->main();
 }
 catch (CRM_Core_Exception $e) {