Ticket #7: bp_get_homeurl_patch.patch
| File bp_get_homeurl_patch.patch, 477 bytes (added by , 19 years ago) |
|---|
-
.
351 $url = get_option('home'); 352 $url_temp = explode('.', $url); 353 354 if($url_temp[0] == "www") { 355 return $url; 356 } 357 else { 358 if(VHOST == "yes") { 359 return "http://" . $url_temp[1] . "." . $url_temp[2]; 360 } 361 else { 362 return "http://www." . $url_temp[1] . "." . $url_temp[2]; 363 } 364 } 351 return get_blogaddress_by_id(0); 365 352 } 366 353