From ee29a4fa0a30e547cfebb0bc01c3ffb85b85295f Mon Sep 17 00:00:00 2001 From: billz Date: Wed, 27 Dec 2023 16:46:30 +0000 Subject: [PATCH] Define RASPI_ERROR_LOG --- config/config.php | 1 + includes/defaults.php | 1 + 2 files changed, 2 insertions(+) diff --git a/config/config.php b/config/config.php index bdda1a02..a252a556 100755 --- a/config/config.php +++ b/config/config.php @@ -7,6 +7,7 @@ define('RASPI_CONFIG_PROVIDERS', 'config/vpn-providers.json'); define('RASPI_ADMIN_DETAILS', RASPI_CONFIG.'/raspap.auth'); define('RASPI_WIFI_AP_INTERFACE', 'wlan0'); 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); diff --git a/includes/defaults.php b/includes/defaults.php index d7b2972e..317b838b 100755 --- a/includes/defaults.php +++ b/includes/defaults.php @@ -12,6 +12,7 @@ $defaults = [ 'RASPI_ADMIN_DETAILS' => RASPI_CONFIG.'/raspap.auth', 'RASPI_WIFI_AP_INTERFACE' => 'wlan0', 'RASPI_CACHE_PATH' => sys_get_temp_dir() . '/raspap', + 'RASPI_ERROR_LOG' => sys_get_temp_dir() . '/raspap_error.log', 'RASPI_DEBUG_LOG' => 'raspap_debug.log', 'RASPI_LOG_SIZE_LIMIT' => 64,