Commit 2af2cd60 authored by kreynen's avatar kreynen Committed by xurizaemon

CRM-17212: Pantheon: php error: session_start(): Failed to initialize storage module

parent bb5676de
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
* $Id$ * $Id$
*/ */
ini_set('session.save_handler', 'files');
session_start(); session_start();
require_once '../civicrm.config.php'; require_once '../civicrm.config.php';
......
...@@ -31,6 +31,9 @@ ...@@ -31,6 +31,9 @@
* $Id$ * $Id$
*/ */
if (!empty($_SERVER['PRESSFLOW_SETTINGS'])) {
ini_set('session.save_handler', 'files');
}
session_start(); session_start();
require_once '../civicrm.config.php'; require_once '../civicrm.config.php';
......
...@@ -31,6 +31,9 @@ ...@@ -31,6 +31,9 @@
* $Id$ * $Id$
*/ */
if (!empty($_SERVER['PRESSFLOW_SETTINGS'])) {
ini_set('session.save_handler', 'files');
}
session_start(); session_start();
require_once '../civicrm.config.php'; require_once '../civicrm.config.php';
......
...@@ -10,7 +10,9 @@ ...@@ -10,7 +10,9 @@
* in creating this payment processor module * in creating this payment processor module
*/ */
if (!empty($_SERVER['PRESSFLOW_SETTINGS'])) {
ini_set('session.save_handler', 'files');
}
session_start(); session_start();
require_once '../civicrm.config.php'; require_once '../civicrm.config.php';
......
...@@ -28,6 +28,9 @@ ...@@ -28,6 +28,9 @@
require_once '../civicrm.config.php'; require_once '../civicrm.config.php';
$config = CRM_Core_Config::singleton(); $config = CRM_Core_Config::singleton();
if (!empty($_SERVER['PRESSFLOW_SETTINGS'])) {
ini_set('session.save_handler', 'files');
}
session_start(); session_start();
$rest = new CRM_Utils_REST(); $rest = new CRM_Utils_REST();
......
...@@ -33,6 +33,9 @@ if (phpversion() == "5.2.2" && ...@@ -33,6 +33,9 @@ if (phpversion() == "5.2.2" &&
$GLOBALS['HTTP_RAW_POST_DATA'] = file_get_contents('php://input'); $GLOBALS['HTTP_RAW_POST_DATA'] = file_get_contents('php://input');
} }
if (!empty($_SERVER['PRESSFLOW_SETTINGS'])) {
ini_set('session.save_handler', 'files');
}
session_start(); session_start();
require_once '../civicrm.config.php'; require_once '../civicrm.config.php';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment