From: Chris Burgess Date: Sat, 12 Sep 2015 11:17:53 +0000 (+1200) Subject: CRM-17212: Use pantheon detection to switch file session to storage (2) X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=064bf239164a83819fba2934f0964c9366f76965;p=civicrm-core.git CRM-17212: Use pantheon detection to switch file session to storage (2) --- 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';