1. Import

This commit is contained in:
2026-03-29 10:34:57 +02:00
parent b0e00c1259
commit a1129565af
4899 changed files with 3007593 additions and 0 deletions

View File

@@ -0,0 +1,43 @@
<?php
/*=======================================================================
*
* automailer_internal.php
*
* Autor: Marc Vollmann
*
=======================================================================*/
include_once ("mc_gen_include.inc.php");
include_once ("htmlMimeMail.php");
$auth = trim($argv[1]);
$errMsg = trim($argv[2]);
// Execution-Time for script
set_time_limit(60);
if ($auth == "comegetsome97531" && $errMsg != "") :
$dirName = dirname(__FILE__);
$dirName = str_replace("\\", "/", $dirName);
$lastSlashPos = strrpos($dirName,"/");
$path = substr($dirName, 0, $lastSlashPos);
// Send mail to admin@assecutor.de
$mailObj = new htmlMimeMail();
$mailObj->setFrom("support@assecutor.de");
$mailObj->setSubject("VOTIAN - INTERNE MELDUNG!");
// PLAIN-TEXT
$mailtext = "<" . $errMsg . ">";
if ($errMsg == "metaobject_db_fail") :
$mailtext .= " - " . "METAOBJECT-DATENBANK VERMUTLICH NICHT ERREICHBAR!";
endif;
$mailObj->setText($mailtext);
$mailResult = $mailObj->send(array("admin@assecutor.de"), 'smtp');
$mailObj = NULL;
endif;
?>