Commit 9fb0037b authored by Nico Schallehn's avatar Nico Schallehn

KEY zu key

parent 73cb2c68
...@@ -17,7 +17,7 @@ define(API_KEY_DB, "/var/www/mediadb.ivaya.de/MediaDBViewerAPI/Key.sqlite"); ...@@ -17,7 +17,7 @@ define(API_KEY_DB, "/var/www/mediadb.ivaya.de/MediaDBViewerAPI/Key.sqlite");
$API = new MediaDBViewerAPI(); $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, $_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