diff --git a/src/www/diag_logs.php b/src/www/diag_logs.php index 14182e988..e09c4ea4e 100755 --- a/src/www/diag_logs.php +++ b/src/www/diag_logs.php @@ -1,4 +1,5 @@
diff --git a/src/www/diag_logs_auth.php b/src/www/diag_logs_auth.php index 6d4b51ec1..db5d250a3 100644 --- a/src/www/diag_logs_auth.php +++ b/src/www/diag_logs_auth.php @@ -1,4 +1,5 @@ . @@ -28,14 +29,16 @@ require_once("guiconfig.inc"); -$portal_logfile = "{$g['varlog_path']}/portalauth.log"; +$portal_logfile = '/var/log/portalauth.log'; $nentries = $config['syslog']['nentries']; -if (!$nentries) +if (!$nentries) { $nentries = 50; +} -if ($_POST['clear']) +if ($_POST['clear']) { clear_log_file($portal_logfile); +} $pgtitle = array(gettext("Status"),gettext("System logs"),gettext("Portal Auth")); $shortcut_section = "captiveportal"; @@ -60,11 +63,16 @@ include("head.inc");
+
+ +
+
+ + +
+
+
- -

-
  
-
" />