[various] Adapt BaseURL calls for new UriInterface
This commit is contained in:
@@ -36,5 +36,5 @@ function viewsrc_item_photo_menu(array &$b)
|
||||
return;
|
||||
}
|
||||
|
||||
$b['menu'] = array_merge([DI::l10n()->t('View Source') => DI::baseUrl()->get() . '/viewsrc/'. $b['item']['uri-id']], $b['menu']);
|
||||
$b['menu'] = array_merge([DI::l10n()->t('View Source') => DI::baseUrl() . '/viewsrc/'. $b['item']['uri-id']], $b['menu']);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user