Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
open-source
MetaGer
Commits
debdd382
Commit
debdd382
authored
Jun 08, 2016
by
Dominik Hebeler
Browse files
Der Parameter "out" wird für die Sitesearch nun nicht mehr übernommen
parent
64291f43
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
app/MetaGer.php
View file @
debdd382
...
...
@@ -683,7 +683,7 @@ class MetaGer
public
function
generateSiteSearchLink
(
$host
)
{
$host
=
urlencode
(
$host
);
$requestData
=
$this
->
request
->
except
(
'page'
);
$requestData
=
$this
->
request
->
except
(
[
'page'
,
'out'
]
);
$requestData
[
'eingabe'
]
.
=
" site:
$host
"
;
$requestData
[
'focus'
]
=
"web"
;
$link
=
action
(
'MetaGerSearch@search'
,
$requestData
);
...
...
@@ -693,7 +693,7 @@ class MetaGer
public
function
generateRemovedHostLink
(
$host
)
{
$host
=
urlencode
(
$host
);
$requestData
=
$this
->
request
->
except
(
'page'
);
$requestData
=
$this
->
request
->
except
(
[
'page'
,
'out'
]
);
$requestData
[
'eingabe'
]
.
=
" -host:
$host
"
;
$link
=
action
(
'MetaGerSearch@search'
,
$requestData
);
return
$link
;
...
...
@@ -702,7 +702,7 @@ class MetaGer
public
function
generateRemovedDomainLink
(
$domain
)
{
$domain
=
urlencode
(
$domain
);
$requestData
=
$this
->
request
->
except
(
'page'
);
$requestData
=
$this
->
request
->
except
(
[
'page'
,
'out'
]
);
$requestData
[
'eingabe'
]
.
=
" -domain:
$domain
"
;
$link
=
action
(
'MetaGerSearch@search'
,
$requestData
);
return
$link
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment