yeah, here is some code from inside mailformatting.php, Ive commented out the require line:
function processEvent($isError) {
if ($this->ToDo == "none") {
return true;
}
if (sizeof($this->ColumnList) == 0) {
return false;
}
$LogIncludeDirectory = getcwd();
chdir(dirname(__FILE__));
require("../../Connections/".$this->Connection.".php");
#require_once("../database_management/wa_appbuilder_php.php");
chdir($LogIncludeDirectory);
eval("$"."logConnection = $".$this->Connection.";");
eval("$"."logDatabase = $"."database_".$this->Connection.";");
mysql_select_db($logDatabase, $logConnection);
$insertParams = WA_AB_generateInsertParams($this->ColumnList, $this->TypeList, $this->ValueList, -1);
switch ($this->ToDo) {