Skip to content
GitLab
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
7fcbb143
Commit
7fcbb143
authored
Jul 06, 2016
by
Dominik Hebeler
Browse files
Es wird kein "site:" mehr an Suchen ohne Sitesearch angehängt
parent
08037fad
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/Models/Searchengine.php
View file @
7fcbb143
...
...
@@ -64,7 +64,10 @@ abstract class Searchengine
$q
=
""
;
if
(
isset
(
$this
->
hasSiteSearch
)
&&
$this
->
hasSiteSearch
===
"1"
)
{
$q
=
$metager
->
getQ
()
.
" site:"
.
$metager
->
getSite
();
if
(
strlen
(
$metager
->
getSite
())
===
0
)
$q
=
$metager
->
getQ
();
else
$q
=
$metager
->
getQ
()
.
" site:"
.
$metager
->
getSite
();
}
else
{
$q
=
$metager
->
getQ
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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