Commit 77194467 authored by Nico Schallehn's avatar Nico Schallehn

test

parent 819fce33
...@@ -36,8 +36,8 @@ class MediaDBViewerAPI{ ...@@ -36,8 +36,8 @@ class MediaDBViewerAPI{
$this->API_Rechte = $entry['Rechte']; $this->API_Rechte = $entry['Rechte'];
$this->API_KEY = $entry['Schuessel']; $this->API_KEY = $entry['Schuessel'];
$this->DB_Objekt = new mysqli($this->DB_Server, $this->DB_Username,$this->DB_Passwort, $this->DB_Database); $this->DB_Objekt = new mysqli($this->DB_Server, $this->DB_Username,$this->DB_Passwort, $this->DB_Database);
var_dump($this->DB_Objekt); //var_dump($this->DB_Objekt);
if($this->DB_Objekt->error != ""){ if($this->DB_Objekt->connect_error != ""){
$ret = false; $ret = false;
}else{ $ret = true; } }else{ $ret = true; }
}else{ $ret = false; } }else{ $ret = false; }
......
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