Commit 2fa51b41 authored by Nico Schallehn's avatar Nico Schallehn

Folgende Änderungen:

$_POST an funktion mit übergeben
Where Bedinungselement für Liste eingebaut
parent 5d607b2f
...@@ -21,7 +21,7 @@ $API = new MediaDBViewerAPI(); ...@@ -21,7 +21,7 @@ $API = new MediaDBViewerAPI();
if($API->APIinit($_GET['KEY'])){ if($API->APIinit($_GET['KEY'])){
if(method_exists('MediaDBViewerAPI', 'API_'.$_GET['action'])){ if(method_exists('MediaDBViewerAPI', 'API_'.$_GET['action'])){
$funktionsname= 'API_'.$_GET['action']; $funktionsname= 'API_'.$_GET['action'];
$respons = $API->$funktionsname($_GET); $respons = $API->$funktionsname($_GET, $_POST);
} }
else{ else{
$respons = $API->error(1003); $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