This commit is contained in:
Manuel Weiser 2018-08-05 22:37:33 +02:00
parent 3353d00f88
commit fe155443e6
2 changed files with 14 additions and 1 deletions

View File

@ -40,7 +40,7 @@ require('config.inc.php');
$filter = $_GET["filter"]; $filter = $_GET["filter"];
} }
if (!isset($_SESSION["lastupdate"])) $_SESSION["lastupdate"]; if (!isset($_SESSION["lastupdate"])) $_SESSION["lastupdate"]="";
if (!isset($show_filter)) $show_filter=""; if (!isset($show_filter)) $show_filter="";
if( $show_filter == 1 && $_SESSION["lastupdate"] == "" && !isset($_GET["clean"]) ) { if( $show_filter == 1 && $_SESSION["lastupdate"] == "" && !isset($_GET["clean"]) ) {

13
testmail.php Normal file
View File

@ -0,0 +1,13 @@
<?php
$body = ("--------------------------------------------------------\n"
."Testmail"
."--------------------------------------------------------\n"
."Dies ist eine automatische Info-EMail. \n"
."--------------------------------------------------------");
$xtra = "From: monitor@fire-devils.org (Monitor)\n";
$xtra .= "Content-Type: text/plain; charset=UTF-8\n";
$xtra .= "MIME-Version: 1.0\n";
$xtra .= "Content-Transfer-Encoding: 8bit\n";
$xtra .= "X-Mailer: PHP ". phpversion();
mail("manuelweiser@me.com", "Monitor Alarm Testmail ", $body, $xtra);