Additional settings in config.php

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 to true, enables the feature. Default value is false.
  • 'mask' — The domain template in format *.example.com where the system replaces * with vps-{serviceId} when the product is created. Default value is *.example.com.