Commit | Line | Data |
---|---|---|
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 | ||
12 | require_once '../civicrm.config.php'; | |
d523d24a | 13 | CRM_Core_Config::singleton(); |
5d5d3b35 TO |
14 | |
15 | CRM_Utils_System::loadBootStrap(array(), FALSE); | |
16 | ||
48716433 TO |
17 | CRM_Cxn_BAO_Cxn::createApiServer() |
18 | ->handle(file_get_contents('php://input')) | |
19 | ->send(); |