From 3cf22a9cbbaea8bafd9b1784cc9ecaac4fd8569c Mon Sep 17 00:00:00 2001 From: billz Date: Mon, 20 Jan 2025 00:52:28 -0800 Subject: [PATCH] Define RASPI_SESSION_TIMEOUT --- config/config.php | 1 + includes/defaults.php | 1 + 2 files changed, 2 insertions(+) diff --git a/config/config.php b/config/config.php index 2950632d..feaeecea 100755 --- a/config/config.php +++ b/config/config.php @@ -11,6 +11,7 @@ define('RASPI_CACHE_PATH', sys_get_temp_dir() . '/raspap'); define('RASPI_ERROR_LOG', sys_get_temp_dir() . '/raspap_error.log'); define('RASPI_DEBUG_LOG', 'raspap_debug.log'); define('RASPI_LOG_SIZE_LIMIT', 64); +define('RASPI_SESSION_TIMEOUT', 1440); // Constants for configuration file paths. // These are typical for default RPi installs. Modify if needed. diff --git a/includes/defaults.php b/includes/defaults.php index 3b918b58..e7c42cbd 100755 --- a/includes/defaults.php +++ b/includes/defaults.php @@ -16,6 +16,7 @@ $defaults = [ 'RASPI_ERROR_LOG' => sys_get_temp_dir() . '/raspap_error.log', 'RASPI_DEBUG_LOG' => 'raspap_debug.log', 'RASPI_LOG_SIZE_LIMIT' => 64, + 'RASPI_SESSION_TIMEOUT' => 1440, // Constants for configuration file paths. // These are typical for default RPi installs. Modify if needed.