Rebuild web caches immediately on ebook updates

This commit is contained in:
Alex Cabal 2022-07-14 15:28:57 -05:00
parent 60a58e9a95
commit e857e4e9e6
9 changed files with 115 additions and 70 deletions

View file

@ -67,7 +67,7 @@ class Session extends PropertiesBase{
return null;
}
public static function SetSessionCookie($sessionId): void{
public static function SetSessionCookie(string $sessionId): void{
setcookie('sessionid', $sessionId, time() + 60 * 60 * 24 * 14 * 1, '/', SITE_DOMAIN, true, false); // Expires in two weeks
}