Code simplification, move to wizard style UI, JSON file cache (scans every 15 mins)
This commit is contained in:
parent
75a7c9a13b
commit
92362efd47
11 changed files with 1027 additions and 438 deletions
5
auth.php
5
auth.php
|
|
@ -6,8 +6,11 @@ function auth_session_start(): void
|
|||
{
|
||||
//$secure = (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off');
|
||||
|
||||
// 7 days session persistence for stable media browsing
|
||||
$sessionLifetime = 7 * 24 * 60 * 60; // 7 days in seconds
|
||||
|
||||
session_set_cookie_params([
|
||||
'lifetime' => 0,
|
||||
'lifetime' => $sessionLifetime,
|
||||
'path' => '/',
|
||||
'domain' => '',
|
||||
'secure' => true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue