aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-09-09 19:02:38 -0700
committerfriendica <info@friendica.com>2013-09-09 19:02:38 -0700
commit933c30d95d73c039257428081a38206cfcd3756d (patch)
tree239abb7da43eb73cc0769f8e641da0f16dc64ff5
parent9994ab2c5daa911f2751b81de28a285108e0ea96 (diff)
downloadvolse-hubzilla-933c30d95d73c039257428081a38206cfcd3756d.tar.gz
volse-hubzilla-933c30d95d73c039257428081a38206cfcd3756d.tar.bz2
volse-hubzilla-933c30d95d73c039257428081a38206cfcd3756d.zip
site rename issue
-rwxr-xr-xboot.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/boot.php b/boot.php
index b3c8701fd..4c2e27f93 100755
--- a/boot.php
+++ b/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'];