Commit 819fce33 authored by Nico Schallehn's avatar Nico Schallehn

test

parent 07148b18
...@@ -31,11 +31,12 @@ class MediaDBViewerAPI{ ...@@ -31,11 +31,12 @@ class MediaDBViewerAPI{
if($entry['Schuessel'] != null){ if($entry['Schuessel'] != null){
$this->DB_Server = $entry['Server']; $this->DB_Server = $entry['Server'];
$this->DB_Username = $entry['Username']; $this->DB_Username = $entry['Username'];
$this->DB_Passwort = $entry['Passwort']."as"; $this->DB_Passwort = $entry['Passwort']."asdf";
$this->DB_Database = $entry['Database']; $this->DB_Database = $entry['Database'];
$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);
if($this->DB_Objekt->error != ""){ if($this->DB_Objekt->error != ""){
$ret = false; $ret = false;
}else{ $ret = true; } }else{ $ret = true; }
......
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