added emergency "kill all entries" syslog/eventlog for level 10+ users

git-svn-id: http://www.observium.org/svn/observer/trunk@836 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2010-02-14 01:35:54 +00:00
parent 3d89348c4d
commit c3b7374589
2 changed files with 4 additions and 0 deletions

View File

@@ -1,5 +1,7 @@
<meta http-equiv="refresh" content="60">
<?php if($_GET('opta') == "expunge" && $_SESSION['userlevel'] >= '10') { mysql_query("TRUNCATE TABLE `syslog`"); } ?>
<?php print_optionbar_start('25'); ?>
<form method="post" action="">