mirror of
https://github.com/RaspAP/raspap-webgui.git
synced 2024-11-22 07:30:23 +00:00
Preserve /tmp/raspap_install.log literal
This commit is contained in:
parent
2102fb9043
commit
9a709b3ded
3 changed files with 1 additions and 5 deletions
|
@ -1,8 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
require_once '../../includes/config.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,7 +8,6 @@ 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,7 +13,6 @@ $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