Skip to content
Snippets Groups Projects
Commit d1f4f375 authored by xavier's avatar xavier
Browse files

Start the session on rest.php, so it avoids impossible to find side effects....

Start the session on rest.php, so it avoids impossible to find side effects. Trust me, I lost hours on that one: civi needs a session.
parent 0c17cc2c
Branches
Tags
No related merge requests found
......@@ -29,6 +29,7 @@ require_once '../civicrm.config.php';
require_once 'CRM/Core/Config.php';
$config = CRM_Core_Config::singleton();
session_start();
require_once 'CRM/Utils/REST.php';
$rest = new CRM_Utils_REST();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment