\r
foreach ($account['profile'] as &$profile) {\r
foreach ($profile as $k => &$v) {\r
$v = str_replace($oldbaseurl, $newbaseurl, $v);\r
foreach (array("profile", "avatar") as $k)\r
\r
foreach ($account['profile'] as &$profile) {\r
foreach ($profile as $k => &$v) {\r
$v = str_replace($oldbaseurl, $newbaseurl, $v);\r
foreach (array("profile", "avatar") as $k)\r