????
Current Path : /opt/cloudlinux/venv/lib/python3.11/site-packages/clwpos/__pycache__/ |
Current File : //opt/cloudlinux/venv/lib/python3.11/site-packages/clwpos/__pycache__/wp_config.cpython-311.pyc |
� tf� � �b � d Z ddlmZmZ ddlmZ ddlmZ dZde defd�Z de dee fd �Zd S )z"Module for work with wp_config.php� )�absolute_import�print_function)�Path)�Listz wp-config.php�abs_wp_path�returnc �, � t | t � � S )z, Return path to wp-config.php file. )r �WP_CONFIG_SUFFIX)r s �G/opt/cloudlinux/venv/lib64/python3.11/site-packages/clwpos/wp_config.py�pathr s � � ��-�.�.�.� c � � t t | � � d�� � 5 }|� � � cddd� � S # 1 swxY w Y dS )z: Read wp-config.php located in specified WP path. �surrogateescape)�errorsN)�openr � readlines)r �fs r �readr s� � � �d�;���(9� :� :� :� �a��{�{�}�}�� � � � � � � � � � � ���� � � � � � s �A � A�AN)�__doc__� __future__r r �pathlibr �typingr r �strr r � r r �<module>r s� �� )� (� 6� 6� 6� 6� 6� 6� 6� 6� � � � � � � � � � � � �"� �/�c� /�d� /� /� /� /��c� �d�3�i� � � � � � r