📁 File Manager Pro
v10.0.3 | PHP: 8.1.34
Server: Apache
2026-06-22 01:12:47
📂
/ (Root)
/
opt
/
alt
/
python37
/
lib
/
python3.7
/
site-packages
/
clselect
/
clselectnodejs
/
__pycache__
📍 /opt/alt/python37/lib/python3.7/site-packages/clselect/clselectnodejs/__pycache__
🔄 Refresh
✏️
Editing: apps_manager.cpython-37.pyc
Read Only
B �"Ud � @ s\ d dl mZ d dl mZ d dl mZ d dlmZ d dlmZ d dlm Z G dd� de�Z d S ) � )�print_function)�division)�absolute_import)�BaseApplicationsManager)�NodeManager)� APP_CONFIGc sJ e Zd ZdZdZdZdZ� fdd�Zeff� fdd� Z e d d � �Z� ZS )�ApplicationsManagerz.cl.selector/node-selector.json�nodejs�nodevenv�nodec s t t| ��t� � d S )N)�superr �__init__r )�self)� __class__� �U/opt/alt/python37/lib/python3.7/site-packages/clselect/clselectnodejs/apps_manager.pyr s zApplicationsManager.__init__c s t t| �j|||d�S )N)�patterns)r r �_find_config_files)r � user_name� app_directoryr )r r r r s z&ApplicationsManager._find_config_filesc C s d� | �dd� |d �g}|S )z� Return lines for htaccess that are specific to the nodejs interpreter :param binary_path: path to the environment's node binary :param app_config: application's config dictionary zPassengerNodejs "{}" zPassengerAppType node zPassengerStartupFile {} �startup_file)�format)�binary_path� app_configZspecific_linesr r r �(get_interpreter_specific_passenger_lines s z<ApplicationsManager.get_interpreter_specific_passenger_lines) �__name__� __module__�__qualname__Z_USER_CONFIG�INTERPRETERZVENV_DIRZBINARY_NAMEr r r �staticmethodr � __classcell__r r )r r r s r N)� __future__r r r Z"clselect.baseclselect.apps_managerr Z$clselect.clselectnodejs.node_managerr Z(clselect.clselectnodejsuser.environmentsr r r r r r �<module> s
💾 Save Changes
❌ Cancel