Commit 59a5131c authored by Nico Schallehn's avatar Nico Schallehn

Changelog

parent eb96359c
(in Arbeit) 0.06 (in Arbeit) 0.06
- Web: Feature: Rechteverwaltung Implementiert - Web: Feature: Rechteverwaltung Implementiert
- API: Feature: Vorbereitung auf Rechte aus JSON Datei. - API: Feature: Rechte aus JSON Datei laden und diese verwenden.
- API: CodeClean: Nicht benutztes Rechtesystem für Filterlisten entfernt - API: CodeClean: Nicht benutztes Rechtesystem für Filterlisten entfernt
- API: CodeClean: Reduziere Code von 712 Zeilen auf - API: CodeClean: Reduziere Code von 712 Zeilen auf
......
...@@ -535,7 +535,7 @@ class MediaDBAPI{ ...@@ -535,7 +535,7 @@ class MediaDBAPI{
"Datenbank" => $this->DB_Database) "Datenbank" => $this->DB_Database)
); );
}else{ }else{
return $this->error(1007,"Keine Rechte um die serverinfo abzufragen!"); return $this->error(1007,"Keine Rechte um die Serverinfo abzufragen!");
} }
} }
/* /*
...@@ -559,7 +559,7 @@ class MediaDBAPI{ ...@@ -559,7 +559,7 @@ class MediaDBAPI{
* Funktion nur ändern, Um Markus zu ärgern ;-) * Funktion nur ändern, Um Markus zu ärgern ;-)
*/ */
public function APIrespons($Laufzeit = 0, $respons = ""){ public function APIrespons($Laufzeit = 0, $respons = ""){
if((strpos($_SERVER["HTTP_USER_AGENT"], "Android")==0) AND ($this->DebugOutput)){ //TODO Debug Statistik wieder raus nehmen!! if((strpos($_SERVER["HTTP_USER_AGENT"], "Android")==0) AND ($this->DebugOutput)){
$this->Statistik["Querys"] = $this->Querys; $this->Statistik["Querys"] = $this->Querys;
return array( "API_VERSION"=> API_VERSION, return array( "API_VERSION"=> API_VERSION,
"API_KEY"=>$this->API_KEY, "API_KEY"=>$this->API_KEY,
......
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