Merge pull request #7794 from PalanteJon/CRM-17029-4.7
[civicrm-core.git] / extern / rest.php
index 6f9303c3cd3408f63958b46f05979640e22c8267..e29e51ffeffa06f1991e260b0104063194d44bc8 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.6                                                |
+ | CiviCRM version 4.7                                                |
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC (c) 2004-2015                                |
  +--------------------------------------------------------------------+
@@ -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();