Commit 952c52b7 authored by Franco Fichtner's avatar Franco Fichtner

logs: prevent direct web access to pills handler

parent b2af67a9
......@@ -79,7 +79,7 @@ include("head.inc");
<div class="container-fluid">
<? include('diag_logs_pills.php'); ?>
<? include('diag_logs_pills.inc'); ?>
</div>
<div class="table-responsive">
......
......@@ -616,7 +616,7 @@ include("head.inc");
<div class="container-fluid">
<? $tab_group = 'firewall'; include('diag_logs_pills.php'); ?>
<? $tab_group = 'firewall'; include('diag_logs_pills.inc'); ?>
<form id="filterlogentries" name="filterlogentries" action="diag_logs_filter.php" method="post">
<?php
......
......@@ -97,7 +97,7 @@ include("head.inc");
<div class="container-fluid">
<? $tab_group = 'firewall'; include('diag_logs_pills.php'); ?>
<? $tab_group = 'firewall'; include('diag_logs_pills.inc'); ?>
......
......@@ -118,7 +118,7 @@ include("head.inc"); ?>
<? $active_tab = "/diag_logs_filter.php"; include('diag_logs_tabs.inc'); ?>
<div class="tab-content content-box col-xs-12">
<div class="container-fluid">
<? $tab_group = 'firewall'; include('diag_logs_pills.php'); ?>
<? $tab_group = 'firewall'; include('diag_logs_pills.inc'); ?>
<p><?php printf (gettext('This is a firewall log summary, of the last %1$s lines of the firewall log (Max %2$s).'), $gotlines, $lines)?><br /></p>
</div>
</div>
......
......@@ -82,7 +82,7 @@ include("head.inc");
<div class="container-fluid">
<? include('diag_logs_pills.php'); ?>
<? include('diag_logs_pills.inc'); ?>
</div>
......
......@@ -82,7 +82,7 @@ include("head.inc");
<div class="container-fluid">
<? include('diag_logs_pills.php'); ?>
<? include('diag_logs_pills.inc'); ?>
</div>
<div class="table-responsive">
......
......@@ -67,7 +67,7 @@ include("head.inc");
<div class="container-fluid">
<? include('diag_logs_pills.php'); ?>
<? include('diag_logs_pills.inc'); ?>
</div>
<div class="table-responsive">
......
......@@ -125,7 +125,7 @@ include("head.inc");
<div class="container-fluid">
<? $tab_group = 'vpn'; include('diag_logs_pills.php'); ?>
<? $tab_group = 'vpn'; include('diag_logs_pills.inc'); ?>
<div class="table-responsive">
......
......@@ -69,7 +69,7 @@ include("head.inc");
<div class="container-fluid">
<? include('diag_logs_pills.php'); ?>
<? include('diag_logs_pills.inc'); ?>
<div class="table-responsive">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment