Submit
Path:
~
/
/
opt
/
cloudlinux
/
venv
/
lib
/
python3.11
/
site-packages
/
clcagefslib
/
webisolation
/
crontab
/
File Content:
utils.py
# -*- coding: utf-8 -*- # # Copyright © Cloud Linux GmbH & Cloud Linux Software, Inc 2010-2025 All Rights Reserved # # Licensed under CLOUD LINUX LICENSE AGREEMENT # http://cloudlinux.com/docs/LICENCE.TXT # """Utility functions for crontab operations.""" import os from .constants import DOCUMENT_ROOT_ENV def get_document_root() -> str | None: """ Get the document root from environment variable. Returns: Optional[str]: The document root path if PROXYEXEC_DOCUMENT_ROOT is set, None otherwise. """ return os.environ.get(DOCUMENT_ROOT_ENV)
Submit
FILE
FOLDER
Name
Size
Permission
Action
__pycache__
---
0755
__init__.py
549 bytes
0644
constants.py
864 bytes
0644
libhooks.py
6759 bytes
0644
parser.py
4480 bytes
0644
processor.py
6660 bytes
0644
structure.py
4205 bytes
0644
utils.py
598 bytes
0644
N4ST4R_ID | Naxtarrr