Additional settings in config.php
On this page
Overview
You can configure advanced settings for the SolusVM WHMCS module through the config.php file. This document explains the available configuration options and their values.
You can configure the following additional options in /whmcs_root/modules/servers/solusvm2vps/config.php:
return [
'allow_login_to_cloud_panel' => false,
'delete_solus_user' => false,
'default_domain' => [
'enabled' => false,
'mask' => '*.example.com',
],
];'allow_login_to_cloud_panel' — When set to true, displays the Log In button in the provisioning module to log in to the SolusVM user area. Default value is false.
'delete_solus_user' — When set to true, the system removes the user account from SolusVM when you remove the corresponding account from WHMCS. Default value is false.
'default_domain' — Configures the default domain template when the hostname is not set during product creation.
Options for 'default_domain':
'enabled'— When set totrue, enables the feature. Default value isfalse.'mask'— The domain template in format*.example.comwhere the system replaces*withvps-{serviceId}when the product is created. Default value is*.example.com.