Fix server selection bug in CentovaCast module

This commit is contained in:
notbasetwo committed 2022-05-21 11:52:39 +01:00
1 parent 8374d7896f
commit 4f4a28906a
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>