Commit 0a1507cb authored by Nico Schallehn's avatar Nico Schallehn

debug

parent 3d9f309f
......@@ -15,8 +15,9 @@ class MediaDBViewerAPI{
if ($db = new SQLite3(API_KEY_DB)) {
$result = $db->query('select * from Keys WHERE Schuessel = "'.$KEY.'"');
echo 'select * from Keys WHERE Schuessel = "'.$KEY.'"';
$entry = $result->fetchArray();
if($entry['Schluessel'] != null){
$entry = $result->fetchArray();
$this->DB_Server = $entry['Server'];
$this->DB_Username = $entry['Username'];
$this->DB_Passwort = $entry['Passwort'];
......
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