| __pycache__ | |||
| alt-php-panel-configuration.py | |||
| alt-php.cfg | |||
| detectcp.py | |||
| install_odbc | |||
| multiphp_reconfigure.py |
|
Server : LiteSpeed System : Linux premium217.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64 User : alloknri ( 880) PHP Version : 8.1.34 Disable Function : NONE Directory : /opt/alt/alt-php-config/ |
#!/usr/libexec/platform-python
# -*- 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"| __pycache__ | |||
| alt-php-panel-configuration.py | |||
| alt-php.cfg | |||
| detectcp.py | |||
| install_odbc | |||
| multiphp_reconfigure.py |