mirror of
https://github.com/tuxis-ie/nsedit.git
synced 2025-04-19 20:09:14 +03:00
We need these vars to be 'global'. Closts #45
This commit is contained in:
parent
3ff38a443c
commit
6bbe01a54a
1 changed files with 1 additions and 1 deletions
|
@ -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}";
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue