From 26e81308e2eb5cc30a51a75e80164d8e1c1e2a4a Mon Sep 17 00:00:00 2001 From: Ruben Herold Date: Wed, 30 Dec 2015 23:34:23 +0100 Subject: [PATCH 1/2] Fix check for config values --- includes/misc.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/misc.inc.php b/includes/misc.inc.php index 2248cf5..58d2703 100644 --- a/includes/misc.inc.php +++ b/includes/misc.inc.php @@ -4,7 +4,7 @@ include('config.inc.php'); $blocklogin = FALSE; -if ((!isset($apipass) or empty($apipass)) or (!isset($apiip) or empty($apiip)) or (!isset($apiport) or empty($apiport)) or (!isset($apivers) or empty($apivers)) { +if ((!isset($apipass) or empty($apipass)) or (!isset($apiip) or empty($apiip)) or (!isset($apiport) or empty($apiport)) or (!isset($apivers) or is_null($apivers))) { $errormsg = 'You need to configure your settings for the PowerDNS API. See doc/apiconf.txt'; $blocklogin = TRUE; } From bff07c1244d74f11c361339d8d869348d1295a2b Mon Sep 17 00:00:00 2001 From: Ruben Herold Date: Thu, 31 Dec 2015 00:33:09 +0100 Subject: [PATCH 2/2] Add info for openssl Support --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index d454b91..be9528f 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,7 @@ Requirements * A webserver running php * php sqlite3 * php curl +* php with openssl support * PowerDNS with the experimental JSON-api enabled (3.4.0 should do) Installing