Submit
Path:
~
/
/
opt
/
alt
/
python37
/
lib
/
python3.7
/
site-packages
/
clwpos
/
optimization_features
/
File Content:
configurations.py
# -*- coding: utf-8 -*- # Copyright © Cloud Linux GmbH & Cloud Linux Software, Inc 2010-2022 All Rights Reserved # # Licensed under CLOUD LINUX LICENSE AGREEMENT # http://cloudlinux.com/docs/LICENSE.TXT # configurations.py - configuration helpers for AccelerateWP optimization features from .features import Feature def to_interface_name(feature): return Feature(feature).to_interface_name() def convert_features_dict_to_interface(features_dict): return {to_interface_name(feature): state for feature, state in features_dict.items()} def convert_feature_list_to_interface(features_list): return [to_interface_name(feature) for feature in features_list]
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
__pycache__
---
0755
__init__.py
638 bytes
0644
configurations.py
675 bytes
0644
features.py
32701 bytes
0644
N4ST4R_ID | Naxtarrr