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,