mirror of
https://github.com/billz/raspap-webgui.git
synced 2025-03-01 10:31:47 +00:00
Update templates w/ getLogLimited, add $logdata to payload
This commit is contained in:
@@ -92,6 +92,7 @@ function DisplayAdBlockConfig()
|
||||
} else {
|
||||
$adblock_log = "Unable to open log file";
|
||||
}
|
||||
$logdata = getLogLimited(RASPI_DHCPCD_LOG, $adblock_log);
|
||||
|
||||
echo renderTemplate(
|
||||
"adblock", compact(
|
||||
@@ -101,7 +102,7 @@ function DisplayAdBlockConfig()
|
||||
"enabled",
|
||||
"custom_enabled",
|
||||
"adblock_custom_content",
|
||||
"adblock_log"
|
||||
"logdata"
|
||||
)
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user