This repository has been archived on 2025-04-04. You can view files and clone it, but cannot push or open issues or pull requests.
host_danube/api.php

13 lines
743 B
PHP

<?php
require_once '../system/autoload.inc.php'; //SYSTEM Classes
require_once 'danube/autoload.inc.php'; //Project Classes
require_once '../system/log/register_exception_shortcut.php'; //allow ERROR() instead of \SYSTEM\LOG\ERROR()
require_once '../system/log/register_errorhandler_dbwriter.php'; //write errors to db
require_once '../system/log/register_errorhandler_jsonoutput.php'; //print errors as json to caller
require_once 'config.php';
SYSTEM\system::start($danube_config);
$api = new \SYSTEM\API\Api (new SYSTEM\verifyclass(), new ApiClass());
echo $api->CALL(array_merge($_POST,$_GET));