|
Server : LiteSpeed System : Linux barito.iixcp.rumahweb.net 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64 User : elvh3918 ( 1528) PHP Version : 8.2.31 Disable Function : mail Directory : /opt/cloudlinux/venv/lib/python3.11/site-packages/clwpos/__pycache__/ |
�
d�_2�e��� �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 �py/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