3 +--------------------------------------------------------------------+
4 | Copyright CiviCRM LLC. All rights reserved. |
6 | This work is published under the GNU AGPLv3 license with some |
7 | permitted exceptions and without any warranty. For full license |
8 | and copyright information, see https://civicrm.org/licensing |
9 +--------------------------------------------------------------------+
12 if (defined('PANTHEON_ENVIRONMENT')) {
13 ini_set('session.save_handler', 'files');
17 require_once '../civicrm.config.php';
18 require_once 'CRM/Core/Config.php';
20 $server = new SoapServer(NULL,
22 'uri' => 'urn:civicrm',
23 'soap_version' => SOAP_1_2
,
28 require_once 'CRM/Utils/SoapServer.php';
29 $crm_soap = new CRM_Utils_SoapServer();
31 /* Cache the real UF, override it with the SOAP environment */
33 $civicrmConfig = CRM_Core_Config
::singleton();
35 $server->setClass('CRM_Utils_SoapServer', $civicrmConfig->userFrameworkClass
);
37 $server->setPersistence(SOAP_PERSISTENCE_SESSION
);