Commit 5e0daf77 authored by Nico Schallehn's avatar Nico Schallehn

test

parent 9c4b3c37
No preview for this file type
No preview for this file type
...@@ -12,7 +12,7 @@ include 'api.class.php'; ...@@ -12,7 +12,7 @@ include 'api.class.php';
$API = new MediaDBAPI(); $API = new MediaDBAPI();
if($API->APIinit($_GET['key'])){ if($API->APIinit($_GET['key'])){
if(method_exists('MediaDBViewerAPI', 'API_'.$_GET['action'])){ if(method_exists('MediaDBAPI', 'API_'.$_GET['action'])){
$funktionsname= 'API_'.$_GET['action']; $funktionsname= 'API_'.$_GET['action'];
$respons = $API->$funktionsname($_GET, $_POST); $respons = $API->$funktionsname($_GET, $_POST);
} }
......
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