Commit a7bcb3b5 authored by Nico Schallehn's avatar Nico Schallehn

Versuch zwei Laufzeit gefixed

parent c863eb8f
...@@ -22,9 +22,10 @@ class MediaDBViewerAPI{ ...@@ -22,9 +22,10 @@ class MediaDBViewerAPI{
return $ret; return $ret;
} }
function APIrespons($respons = ""){ function APIrespons($respons = ""){
$stop = microtime(true);
return array( "API_VERSION"=> API_VERSION, return array( "API_VERSION"=> API_VERSION,
"API_KEY"=>$API_KEY, "API_KEY"=>$API_KEY,
"API_Laufzeit" =>(microtime(true)-$API_start_time), "API_Laufzeit" =>($stop-$API_start_time),
"Antwort" => $respons ); "Antwort" => $respons );
} }
function error($ErrID){ function error($ErrID){
......
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