관리-도구
편집 파일: clselect.cpython-37.pyc
B �v6d�T � @ s� d dl mZ d dl mZ d dl mZ d dlZd dlZd dlZd dlmZ d dlm Z d dl mZ d dlm Z d d lmZmZ d dlmZ G dd � d e�ZdS )� )�absolute_import)�print_function)�divisionN)�glob)�map)�FormattedException)�configparser� )�ClSelectExcept�BaseClSelectException)�clprintc @ sp e Zd ZdZdZdZdZdZdZdZ dZ e d Ze d Ze dd� �Ze d d� �ZdOdd�Zdd� Zdd� Zdd� Zdd� Zdd� Zdd� ZdPdd �Zd!d"� Zd#d$� Zd%d&� Zd'd(� ZdQd)d*�Zd+d,� ZdRd.d/�Zd0d1� Ze e�Zd2d3� Z e e �Z d4d5� Z!e e!�Z!dSd7d8�Z"d9d:� Z#d;d<� Z$d=d>� Z%d?d@� Z&dTdAdB�Z'dUdCdD�Z(dEdF� Z)dVdGdH�Z*dIdJ� Z+dWdKdL�Z,dXdMdN�Z-d-S )Y�ClSelectz/etc/cl.selector/selector.confz/etc/cl.selector/defaults.cfgz/usr/bin/phpz/etc/cl.selector/native.confz/etc/cl.selector/user.confz"/etc/cl.selector/php.extensions.d/z/usr/sbin/cagefsctlz/var/lvez /php%s.datz/php_native_ver.datc C s` y*dt jkrt j�d� ddlm} m} W n tk rF td��Y nX | � s\|� s\td��d S )Nz/usr/share/cagefsr )�!multiphp_system_default_is_ea_php�selector_modules_must_be_usedzCageFS not installed.zesystem default PHP version is alt-php. PHP Selector is disabled. Use cPanel MultiPHP manager instead.)�sys�path�appendZ cagefsctlr r �ImportErrorr )r r � r �B/opt/alt/python37/lib/python3.7/site-packages/clselect/clselect.py�%check_multiphp_system_default_version'