作者 zhl

u bug

... ... @@ -40,7 +40,7 @@ public function createBtSite($domain, $ssl_open, $ssl_auto, $ssl_auto_day, $ssl_
}
$host_array = explode('.', $host);
if (empty($host_array[0]) && $host_array[0] == 'www')
if (FALSE == empty($host_array[0]) && $host_array[0] == 'www')
unset($host_array[0]);
$domain_top = implode('.', $host_array);
... ...