1
0
mirror of https://gitnet.fr/deblan/gist.git synced 2021-08-14 08:30:49 +02:00
This commit is contained in:
Simon Vieille 2018-08-21 10:24:26 +02:00
parent 001901a8f7
commit f36783b2ce
No known key found for this signature in database
GPG Key ID: 919533E2B946EA10

View File

@ -198,6 +198,7 @@ abstract class Controller
$ttl = 3600 * 24 * 7; $ttl = 3600 * 24 * 7;
$response->setTtl($ttl); $response->setTtl($ttl);
$response->setClientTtl($ttl); $response->setClientTtl($ttl);
$response->setExpires(new \DateTime('now +7 days'));
} }
return $response; return $response;