Small bugfixes

main
Yasen Pramatarov 2025-09-25 20:48:10 +03:00
parent d90320f5f9
commit 656cd3c976
3 changed files with 5 additions and 4 deletions

View File

@ -12,14 +12,15 @@ return [
'folder' => '/jilo-web/',
// site name used in emails and in the interface
'site_name' => 'Jilo Web',
// session configuration
'session' => [
// session name, if empty a random one will be generated
'name' => 'jilo',
// 2 hours (7200) default, when "remember me" is not checked
'lifetime' => 7200,
'lifetime' => '7200',
// 30 days (2592000) default, when "remember me" is checked
'remember_me_lifetime' => 2592000,
'remember_me_lifetime' => '2592000',
],
// set to false to disable new registrations
'registration_enabled' => true,

View File

@ -62,7 +62,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
}
// Apply rate limiting
require '../app/includes/rate_limit_middleware.php';
require_once '../app/includes/rate_limit_middleware.php';
checkRateLimit($db, 'config', $userId);
// Ensure no output before this point

View File

@ -53,7 +53,7 @@
});
</script>
<?php } ?>
<title>Jilo Web</title>
<title><?= htmlspecialchars($config['site_name']) ?></title>
<link rel="icon" type="image/x-icon" href="<?= htmlspecialchars($app_root) ?>static/favicon.ico">
</head>