mirror of
https://github.com/RaspAP/raspap-webgui.git
synced 2024-11-22 07:30:23 +00:00
Define RASPI_INSTALL_LOG
This commit is contained in:
parent
aa3a88e9b1
commit
d6a4d33758
3 changed files with 3 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
$logFile = '/tmp/raspap_install.log';
|
$logFile = '/tmp/'.RASPI_INSTALL_LOG;
|
||||||
$searchStrings = [
|
$searchStrings = [
|
||||||
'Configure update' => 1,
|
'Configure update' => 1,
|
||||||
'Updating sources' => 2,
|
'Updating sources' => 2,
|
||||||
|
|
|
@ -8,6 +8,7 @@ define('RASPI_ADMIN_DETAILS', RASPI_CONFIG.'/raspap.auth');
|
||||||
define('RASPI_WIFI_AP_INTERFACE', 'wlan0');
|
define('RASPI_WIFI_AP_INTERFACE', 'wlan0');
|
||||||
define('RASPI_CACHE_PATH', sys_get_temp_dir() . '/raspap');
|
define('RASPI_CACHE_PATH', sys_get_temp_dir() . '/raspap');
|
||||||
define('RASPI_DEBUG_LOG', 'raspap_debug.log');
|
define('RASPI_DEBUG_LOG', 'raspap_debug.log');
|
||||||
|
define('RASPI_INSTALL_LOG', 'raspap_install.log');
|
||||||
|
|
||||||
// Constants for configuration file paths.
|
// Constants for configuration file paths.
|
||||||
// These are typical for default RPi installs. Modify if needed.
|
// These are typical for default RPi installs. Modify if needed.
|
||||||
|
|
|
@ -13,6 +13,7 @@ $defaults = [
|
||||||
'RASPI_WIFI_AP_INTERFACE' => 'wlan0',
|
'RASPI_WIFI_AP_INTERFACE' => 'wlan0',
|
||||||
'RASPI_CACHE_PATH' => sys_get_temp_dir() . '/raspap',
|
'RASPI_CACHE_PATH' => sys_get_temp_dir() . '/raspap',
|
||||||
'RASPI_DEBUG_LOG' => 'raspap_debug.log',
|
'RASPI_DEBUG_LOG' => 'raspap_debug.log',
|
||||||
|
'RASPI_INSTALL_LOG' => 'raspap_install.log',
|
||||||
|
|
||||||
// Constants for configuration file paths.
|
// Constants for configuration file paths.
|
||||||
// These are typical for default RPi installs. Modify if needed.
|
// These are typical for default RPi installs. Modify if needed.
|
||||||
|
|
Loading…
Reference in a new issue