🧑‍💻 add content name to mail for debugging 2

This commit is contained in:
DrMaxNix 2024-02-19 20:04:28 +01:00
parent 460bf13caa
commit 0b7cc8f296
1 changed files with 6 additions and 0 deletions

View File

@ -438,6 +438,12 @@
return require(func_get_arg(0));
})($path);
// add content name
$content_from_file["name"] = [
"de" => $name,
"en" => $name,
];
// add static content
return array_merge(self::STATIC_CONTENT, $content_from_file);
}