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
6be5c1b4
Commit
6be5c1b4
authored
Nov 07, 2019
by
Dominik Hebeler
Browse files
changed cache key
parent
fc4c8cc1
Changes
2
Hide whitespace changes
Inline
Side-by-side
app/Http/Controllers/MetaGerSearch.php
View file @
6be5c1b4
...
...
@@ -39,7 +39,7 @@ class MetaGerSearch extends Controller
$metager
->
checkSpecialSearches
(
$request
);
if
(
Cache
::
has
(
'spam.'
.
$metager
->
getFokus
()
.
"."
.
md5
(
$metager
->
getQ
())))
{
return
response
(
Cache
::
get
(
'spam.'
.
$metager
->
getFokus
()
.
"."
.
md5
(
$metager
->
get
Q
())));
return
response
(
Cache
::
get
(
'spam.'
.
$metager
->
getFokus
()
.
"."
.
md5
(
$metager
->
get
Eingabe
())));
}
# Die Quicktips als Job erstellen
...
...
@@ -80,7 +80,7 @@ class MetaGerSearch extends Controller
continue
;
}
if
(
preg_match
(
"/"
.
$entry
.
"/si"
,
$metager
->
getEingabe
()))
{
Cache
::
put
(
'spam.'
.
$metager
->
getFokus
()
.
"."
.
md5
(
$metager
->
get
Q
()),
$resultpage
->
render
(),
604800
);
Cache
::
put
(
'spam.'
.
$metager
->
getFokus
()
.
"."
.
md5
(
$metager
->
get
Eingabe
()),
$resultpage
->
render
(),
604800
);
}
}
return
$resultpage
;
...
...
database/useragents.sqlite
View file @
6be5c1b4
No preview for this file type
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