From 064bf239164a83819fba2934f0964c9366f76965 Mon Sep 17 00:00:00 2001 From: Chris Burgess Date: Sat, 12 Sep 2015 23:17:53 +1200 Subject: [PATCH] CRM-17212: Use pantheon detection to switch file session to storage (2) --- install/index.php | 3 +++ .../org.civicrm.payment.googlecheckout/googleNotify.php | 3 +++ 2 files changed, 6 insertions(+) diff --git a/install/index.php b/install/index.php index 354fc51cd7..88df443713 100644 --- a/install/index.php +++ b/install/index.php @@ -30,6 +30,9 @@ else { // set installation type - drupal if (!session_id()) { + if (defined('PANTHEON_ENVIRONMENT')) { + ini_set('session.save_handler', 'files'); + } session_start(); } diff --git a/tools/extensions/org.civicrm.payment.googlecheckout/googleNotify.php b/tools/extensions/org.civicrm.payment.googlecheckout/googleNotify.php index 77da37fb54..97b047130a 100644 --- a/tools/extensions/org.civicrm.payment.googlecheckout/googleNotify.php +++ b/tools/extensions/org.civicrm.payment.googlecheckout/googleNotify.php @@ -33,6 +33,9 @@ * */ +if (defined('PANTHEON_ENVIRONMENT')) { + ini_set('session.save_handler', 'files'); +} session_start(); require_once '../../../civicrm.config.php'; -- 2.25.1