Development Guides Home >> Guide to WHM Plugins
Guide to WHM Plugins - The AppConfig System
Introduction
The AppConfig system configures cPanel & WHM attributes and registers WHM plugins. Use AppConfig in your WHM plugin installation scripts to register WHM plugins. You can also use the AppConfig system to add application attributes in cPanel, WHM, or Webmail. AppConfig configuration files store each application's configuration settings.
Update AppConfig files for 11.38.1+
The upgrades to the AppConfig system in cPanel & WHM version 11.38.1 require the following changes to AppConfig configuration files:
-
cPanel and Webmail applications — Add the
features
key to the AppConfig file . -
WHM applications — Add the
acls
key to the AppConfig file .
Test application
A test application for cPanel & WHM version 11.38.1 is available on Github:
- https://github.com/CpanelInc/addon_securityadvisor
- https://github.com/CpanelInc/addon_securityadvisor/blob/master/pkg/appconfig/securityadvisor.conf
- https://github.com/CpanelInc/addon_securityadvisor/blob/master/pkg/install
- https://github.com/CpanelInc/addon_securityadvisor/blob/master/pkg/bin/upgrade