DESTOON8.0 is developed and modified. Only paid VIP members can open the second-level domain name. This site provides a lazy package (attachment), and you can also modify it by yourself. The plan is as follows:

1. Open the includeglobal.func.php file

Search (about 901 lines)

if($subdomain || $domain) {


Modify to

$HY = userinfo($username);
if($subdomain && $HY['vip'] || $domain) {


The latest effect is shown in the picture

Click to open the original image

2. Open the modulecompanyindex.inc.php file

Search (greater than 19 lines)

$username = $homepage = $www;


Modified to

$HY = userinfo($www);
if($HY['vip']){
$username = $homepage = $www;
}


The final effect is shown in the figure

Click to open the original image

After modifying the above code, set up the second-level domain name and then update all company data in the company module, you can see the desired effect.