Define RASPI_INSTALL_LOG

This commit is contained in:
billz 2023-11-24 18:07:47 +00:00
parent aa3a88e9b1
commit d6a4d33758
3 changed files with 3 additions and 1 deletions

View file

@ -1,5 +1,5 @@
<?php
$logFile = '/tmp/raspap_install.log';
$logFile = '/tmp/'.RASPI_INSTALL_LOG;
$searchStrings = [
'Configure update' => 1,
'Updating sources' => 2,

View file

@ -8,6 +8,7 @@ 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_DEBUG_LOG', 'raspap_debug.log');
define('RASPI_INSTALL_LOG', 'raspap_install.log');
// Constants for configuration file paths.
// These are typical for default RPi installs. Modify if needed.

View file

@ -13,6 +13,7 @@ $defaults = [
'RASPI_WIFI_AP_INTERFACE' => 'wlan0',
'RASPI_CACHE_PATH' => sys_get_temp_dir() . '/raspap',
'RASPI_DEBUG_LOG' => 'raspap_debug.log',
'RASPI_INSTALL_LOG' => 'raspap_install.log',
// Constants for configuration file paths.
// These are typical for default RPi installs. Modify if needed.