MMCT TEAM
Server IP : 62.72.28.201  /  Your IP : 18.191.192.149
Web Server : LiteSpeed
System : Linux in-mum-web1113.main-hosting.eu 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
User : u249650955 ( 249650955)
PHP Version : 8.0.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : ON
Directory (0755) :  /home/../usr/share/cpapi/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/../usr/share/cpapi/panel_info.py
#! /opt/alt/python311/bin/python3

import json


def get_panel_data():
    data = {}
    data['supported_cl_features'] = {}

    data['name'] = 'hpanel'
    data['version'] = '1.0.1'
    data['user_login_url'] = 'https://www.hostinger.com/cpanel-login'
    data['supported_cl_features']['php_selector'] = True
    data['supported_cl_features']['ruby_selector'] = False
    data['supported_cl_features']['python_selector'] = False
    data['supported_cl_features']['nodejs_selector'] = False
    data['supported_cl_features']['mod_lsapi'] = False
    data['supported_cl_features']['mysql_governor'] = True
    data['supported_cl_features']['cagefs'] = True
    data['supported_cl_features']['reseller_limits'] = True
    data['supported_cl_features']['xray'] = True

    return data


def main():
    panel_data = get_panel_data()
    response = {
        "data": panel_data,
        "metadata": {
            "result": "ok"
        }
    }
    print(json.dumps(response))


if __name__ == '__main__':
    main()

MMCT - 2023