Commit cad89ea7 authored by Nico Schallehn's avatar Nico Schallehn

test

parent 56d6c832
......@@ -21,7 +21,7 @@ $API = new MediaDBViewerAPI();
if($API->APIinit($_GET['KEY'])){
if(method_exists('MediaDBViewerAPI', 'API_'.$_GET['action'])){
$funktionsname= 'API_'.$_GET['action'];
$respons = $API->$funktionsname();
$respons = $API->$funktionsname($_GET);
}
else{
$respons = $API->error(1003);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment