site rename issue
This commit is contained in:
parent
9994ab2c5d
commit
933c30d95d
3
boot.php
3
boot.php
@ -1339,7 +1339,8 @@ function fix_system_urls($oldurl,$newurl) {
|
||||
if($r) {
|
||||
foreach($r as $rr) {
|
||||
$channel = substr($rr['xchan_addr'],0,strpos($rr['xchan_addr'],'@'));
|
||||
$parsed = @parse_url($rr['xchan_url']);
|
||||
|
||||
$parsed = @parse_url($newurl);
|
||||
if(! $parsed)
|
||||
continue;
|
||||
$newhost = $parsed['host'];
|
||||
|
Reference in New Issue
Block a user