From 02d3c3d9f51ab8b76e442d03b10f43892cfe1955 Mon Sep 17 00:00:00 2001 From: mark burdett Date: Tue, 16 Apr 2019 16:29:43 -0700 Subject: [PATCH] On PHP 7.2 we cannot start session until it has been configured by Drupal. --- extern/rest.php | 1 - 1 file changed, 1 deletion(-) diff --git a/extern/rest.php b/extern/rest.php index 6e1c581f17..503de82ce7 100644 --- a/extern/rest.php +++ b/extern/rest.php @@ -31,7 +31,6 @@ $config = CRM_Core_Config::singleton(); if (defined('PANTHEON_ENVIRONMENT')) { ini_set('session.save_handler', 'files'); } -session_start(); $rest = new CRM_Utils_REST(); // Json-appropriate header will be set by CRM_Utils_Rest -- 2.25.1