Fehlerbereinigung #1

Merged
ManuelW merged 6 commits from boswatch into master 2018-11-08 17:35:04 +01:00
2 changed files with 14 additions and 1 deletions
Showing only changes of commit fe155443e6 - Show all commits

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);