Merge pull request #17 from notbasetwo/centova

Fix server selection bug in CentovaCast module
This commit is contained in:
Nyaaan authored and GitHub committed 2022-05-21 21:26:16 +10:00
commit 2b8e8726ae
2 files changed
+3 -1

No files matched your search

@@ -400,7 +400,7 @@ class Service implements \Box\InjectionAwareInterface
$account_password = 'admin|'.$server['secret'];
}
require_once dirname(__FILE__).'/ccapiclient/ccapiclient.php';
require_once dirname(__FILE__).'/ccapiclient.php';
$server = new CCServerAPIClient($centovacast_url);
$server->cc_initialize($centovacast_url);
$server->call($method, $account_username, $account_password, $arguments);
@@ -1,3 +1,5 @@
{% import "macro_functions.phtml" as mf %}
<div class="help">
<h5>{{ 'Centova Cast product settings'|trans }}</h5>
</div>