mirror of
https://github.com/standardebooks/web.git
synced 2025-07-14 02:21:55 -04:00
Rebuild web caches immediately on ebook updates
This commit is contained in:
parent
60a58e9a95
commit
e857e4e9e6
9 changed files with 115 additions and 70 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue