diff options
-rw-r--r-- | config/apache_mod_security-dev/apache_logs_data.php | 2 | ||||
-rw-r--r-- | config/apache_mod_security-dev/apache_logs_data.teste.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/config/apache_mod_security-dev/apache_logs_data.php b/config/apache_mod_security-dev/apache_logs_data.php index fdcc04b0..2410a547 100644 --- a/config/apache_mod_security-dev/apache_logs_data.php +++ b/config/apache_mod_security-dev/apache_logs_data.php @@ -91,7 +91,7 @@ if ($_GET) { if (preg_match($regex, $logline[0],$line)) { // Apply filter and color if ($filter != "") - $line = preg_replace("@($filter)@i","<spam><font color='red'>$1</font></span>",$line); + $line = preg_replace("@($filter)@i","<span><font color='red'>$1</font></span>",$line); $agent_info="onmouseover=\"jQuery('#browserinfo').empty().html('{$line[13]}');\"\n"; echo "<tr valign=\"top\" $agent_info>\n"; echo "<td class=\"listlr\" align=\"center\" nowrap>{$line[5]}({$line[6]})</td>\n"; diff --git a/config/apache_mod_security-dev/apache_logs_data.teste.php b/config/apache_mod_security-dev/apache_logs_data.teste.php index c3f270bf..619a856a 100644 --- a/config/apache_mod_security-dev/apache_logs_data.teste.php +++ b/config/apache_mod_security-dev/apache_logs_data.teste.php @@ -64,7 +64,7 @@ if ($_GET) { // Apply filter and color // Need validate special chars if ($filter != "") - $logline = preg_replace("@($filter)@i","<spam><font color='red'>$1</font></span>",$logline); + $logline = preg_replace("@($filter)@i","<span><font color='red'>$1</font></span>",$logline); echo $logline[0]."\n<br/>"; } |