From 6bbe01a54a8c36ff0c61f6254e56ee885a50366c Mon Sep 17 00:00:00 2001 From: Mark Schouten Date: Mon, 20 Apr 2015 10:42:31 +0200 Subject: [PATCH] We need these vars to be 'global'. Closts #45 --- zones.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zones.php b/zones.php index d8f6035..1b77364 100644 --- a/zones.php +++ b/zones.php @@ -11,7 +11,7 @@ if (!is_csrf_safe()) { } function api_request($path, $opts = null, $type = null) { - global $apisid, $apiuser, $apipass, $apiip, $apiport, $authmethod; + global $apiproto, $apisslverify, $apisid, $apiuser, $apipass, $apiip, $apiport, $authmethod; $url = "$apiproto://$apiip:$apiport${path}";