Commit f4b0b247 authored by Phil Höfer's avatar Phil Höfer

Add hostname to plugin short name

parent ec60e072
......@@ -115,6 +115,7 @@ class StartpageController extends Controller
view('plugin')
->with('link', $link)
->with('params', $params)
->with('hostname', gethostname())
->with('request', $request), "200");
$response->header('Content-Type', "application/xml");
return $response;
......
<?xml version="1.0" encoding="UTF-8" ?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/" xmlns:moz="http://www.mozilla.org/2006/browser/search/">
<ShortName>MetaGer</ShortName>
<ShortName>MetaGer ({{ $hostname }})</ShortName>
<Description>{{ trans('plugin.description') }}</Description>
<Contact>office@suma-ev.de</Contact>
<Image width="16" height="16" type="image/x-icon">{{ url('/favicon.ico') }}</Image>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment