Add configuration options to adjust the behavior of recent items stack: 1.) Define...
[civicrm-core.git] / extern / ipn.php
index 96a2d6577e37039beafc82ee6842aea6584b849b..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.                                    |
  |                                                                    |
 
 /**
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2015
+ * @copyright CiviCRM LLC (c) 2004-2016
  * $Id$
  */
 
+if (defined('PANTHEON_ENVIRONMENT')) {
+  ini_set('session.save_handler', 'files');
+}
 session_start();
 
 require_once '../civicrm.config.php';
@@ -49,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) {