作者 zhl

u bug

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