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
fc4c8cc1
Commit
fc4c8cc1
authored
Nov 06, 2019
by
Dominik Hebeler
Browse files
increased cache duration for spam
parent
1d8ef87c
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
app/Http/Controllers/MetaGerSearch.php
View file @
fc4c8cc1
...
...
@@ -80,7 +80,7 @@ class MetaGerSearch extends Controller
continue
;
}
if
(
preg_match
(
"/"
.
$entry
.
"/si"
,
$metager
->
getEingabe
()))
{
Cache
::
put
(
'spam.'
.
$metager
->
getFokus
()
.
"."
.
md5
(
$metager
->
getQ
()),
$resultpage
->
render
(),
144
0
);
Cache
::
put
(
'spam.'
.
$metager
->
getFokus
()
.
"."
.
md5
(
$metager
->
getQ
()),
$resultpage
->
render
(),
60480
0
);
}
}
return
$resultpage
;
...
...
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