X7ROOT File Manager
Current Path:
/opt/cloudlinux/venv/lib/python3.11/site-packages/clselect
opt
/
cloudlinux
/
venv
/
lib
/
python3.11
/
site-packages
/
clselect
/
??
..
??
__init__.py
(536 B)
??
__pycache__
??
baseclselect
??
clextselect.py
(19.61 KB)
??
clpassenger.py
(26.52 KB)
??
clselect.py
(21.96 KB)
??
clselectctl.py
(9.15 KB)
??
clselectctlnodejsuser.py
(20.66 KB)
??
clselectctlphp.py
(45.25 KB)
??
clselectctlpython.py
(44.75 KB)
??
clselectctlruby.py
(18.59 KB)
??
clselectexcept.py
(10.22 KB)
??
clselectnodejs
??
clselectnodejsuser
??
clselectphp
??
clselectphpuser
??
clselectprint.py
(5.39 KB)
??
clselectpython
??
clselectpythonuser
??
clselectruby
??
clselectstatistics.py
(6.51 KB)
??
cluserextselect.py
(16.54 KB)
??
cluseroptselect.py
(23.65 KB)
??
cluserselect.py
(30.7 KB)
??
locked_extensions.ini
(1.2 KB)
??
models.py
(815 B)
??
utils.py
(16.22 KB)
Editing: models.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/LICENSE.TXT class Website(object): """ Represents a website with its domain and document root. Used for per-domain configuration in PHP Selector. """ def __init__(self, domain: str, docroot: str): """ Initialize Website instance """ self.domain = domain self.docroot = docroot def __repr__(self): return "Website(domain='%s', docroot='%s')" % (self.domain, self.docroot) def __eq__(self, other): if not isinstance(other, Website): return False return self.domain == other.domain and self.docroot == other.docroot
Upload File
Create Folder