Merge pull request #24233 from demeritcowboy/zetapatookens
[civicrm-core.git] / extern / cxn.php
CommitLineData
5d5d3b35
TO
1<?php
2/*
3 +--------------------------------------------------------------------+
6b7eb9df 4 | Copyright CiviCRM LLC. All rights reserved. |
5d5d3b35 5 | |
6b7eb9df
TO
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 |
5d5d3b35
TO
9 +--------------------------------------------------------------------+
10 */
11
12require_once '../civicrm.config.php';
d523d24a 13CRM_Core_Config::singleton();
5d5d3b35
TO
14
15CRM_Utils_System::loadBootStrap(array(), FALSE);
16
48716433
TO
17CRM_Cxn_BAO_Cxn::createApiServer()
18 ->handle(file_get_contents('php://input'))
19 ->send();