ok
Direktori : /opt/cloudlinux/venv/lib/python3.11/site-packages/xray/manager/__pycache__/ |
Current File : //opt/cloudlinux/venv/lib/python3.11/site-packages/xray/manager/__pycache__/custom.cpython-311.pyc |
� ��f� � � � d Z ddlmZ ddlmZ ddlmZ ddlmZ ddl mZ ddlm Z d d lmZmZ d dlmZ d dlmZmZ G d � de � � ZdS )zZ This module contains classes implementing X-Ray Manager behaviour for custom integration � )�ChainMap)�Optional)� PublicApi)�gettext)� phpinfo_utils� )�BaseManager� )�XRayManagerError�XRayMissingDomain)� DomainInfo)�user_mode_verification�with_fpm_reload_restrictedc �� � � e Zd ZdZddddddddddddd�Z� fd�Zdefd�Zed� � � Z de fd�Zee d edefd �� � � � Zdedefd�Zd edee fd�Zdedefd�Zdedef� fd�Z� xZS )� CustomManagerz0 Manager supporting integration scripts N)�54�55�56�70�71�72�73�74�80�81�82�83c �� �� t � � j |i |�� t � � | _ | j r| � � � | _ d S t t d� � � � �)Nz.X-Ray is not supported by control panel vendor) �super�__init__r �api�is_xray_integrated�get_all_domains�all_domainsr �_)�self�args�kwargs� __class__s ��J/opt/cloudlinux/venv/lib64/python3.11/site-packages/xray/manager/custom.pyr zCustomManager.__init__0 sq �� ������$�)�&�)�)�)��;�;����"� E�#�3�3�5�5�D����"��B�C�C�E� E� E� �returnc �6 � t | j | j � � S )za Get supported PHP versions :return: dict with custom supported versions )r �VERSIONS�VERSIONS_CUSTOM�r&