We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1df5de3 commit b897bf1Copy full SHA for b897bf1
1 file changed
src/cloudlinux_licenses_list.php
@@ -12,12 +12,15 @@
12
13
use Detain\Cloudlinux\Cloudlinux;
14
15
+
16
function cloudlinux_licenses_list()
17
{
18
if ($GLOBALS['tf']->ima == 'admin') {
19
+ require_once __DIR__.'/../../../workerman/statistics/Applications/Statistics/Clients/StatisticClient.php';
20
$table = new \TFTable;
21
$table->set_title('CloudLinux License List');
22
$header = false;
23
+ function_requirements('get_cloudlinux_licenses');
24
$licenses = obj2array(get_cloudlinux_licenses());
25
$licensesValues = array_values($licenses['data']);
26
foreach ($licensesValues as $data) {
0 commit comments