CRM-21106 Add Warnings about new required extension to support Financial Type ACLs...
[civicrm-core.git] / extern / rest.php
index ff2846d1bf199a32b0aa47ad05aec73c8c1294ee..ec5aa40c5087ccad0bb6ad43509e2416d47fe168 100644 (file)
@@ -3,7 +3,7 @@
  +--------------------------------------------------------------------+
  | CiviCRM version 4.7                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2015                                |
+ | Copyright CiviCRM LLC (c) 2004-2017                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
@@ -28,6 +28,9 @@
 require_once '../civicrm.config.php';
 $config = CRM_Core_Config::singleton();
 
+if (defined('PANTHEON_ENVIRONMENT')) {
+  ini_set('session.save_handler', 'files');
+}
 session_start();
 $rest = new CRM_Utils_REST();