| 1 | <?php |
| 2 | /* |
| 3 | +--------------------------------------------------------------------+ |
| 4 | | Copyright CiviCRM LLC. All rights reserved. | |
| 5 | | | |
| 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 | +--------------------------------------------------------------------+ |
| 10 | */ |
| 11 | |
| 12 | require_once '../civicrm.config.php'; |
| 13 | CRM_Core_Config::singleton(); |
| 14 | |
| 15 | CRM_Utils_System::loadBootStrap(array(), FALSE); |
| 16 | |
| 17 | CRM_Cxn_BAO_Cxn::createApiServer() |
| 18 | ->handle(file_get_contents('php://input')) |
| 19 | ->send(); |