[ Root System Explorer ]
Location:
Root
/
proc
/
thread-self
/
root
/
proc
/
thread-self
/
root
/
opt
/
alt
/
alt-php-config
+ Folder
+ File
Upload
Editing: detectcp.py
#!/usr/bin/python3 # -*- mode:python; coding:utf-8; -*- import os def getCPName(): # cPanel if os.path.isfile('/usr/local/cpanel/cpanel'): return "cPanel" # DirectAdmin if os.path.isfile('/usr/local/directadmin/directadmin') or \ os.path.isfile('/usr/local/directadmin/custombuild/build'): return "DirectAdmin" # InterWorx if os.path.isfile('/usr/local/interworx/iworx.ini'): return "InterWorx" # ISPManager if os.path.isfile('/usr/local/ispmgr/bin/ispmgr'): return "ISPManager" # Plesk if os.path.isfile('/usr/local/psa/version'): return "Plesk" # Unknown panel / No panel return "Unknown"
SAVE CHANGES
[ CANCEL ]
Name
Type
Actions
.. (Parent Directory)
📁 __pycache__/
DIR
Ren
DEL
📄 alt-php-panel-configuration.py
FILE
Ren
[EDIT]
DEL
📄 alt-php.cfg
FILE
Ren
[EDIT]
DEL
📄 detectcp.py
FILE
Ren
[EDIT]
DEL
📄 install_odbc
FILE
Ren
[EDIT]
DEL
📄 multiphp_reconfigure.py
FILE
Ren
[EDIT]
DEL