Now you can define the duration of the cache entries.
This commit is contained in:
parent
26c5c7991a
commit
b52bc71c6c
9 changed files with 33 additions and 22 deletions
|
|
@ -183,7 +183,7 @@ function discover_directory($search) {
|
|||
poco_check($data["url"], $data["name"], $data["network"], $data["photo"], "", "", "", $jj->tags, $data["addr"], "", 0);
|
||||
}
|
||||
}
|
||||
Cache::set("dirsearch:".$search, time());
|
||||
Cache::set("dirsearch:".$search, time(), CACHE_DAY);
|
||||
}
|
||||
|
||||
if (array_search(__file__,get_included_files())===0){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue