ADMIN_WEB default to noalyss-no-reply

This commit is contained in:
sparkyx 2025-08-05 08:55:18 +02:00
parent 403b1f11c6
commit dc3c41cafd
2 changed files with 7 additions and 1 deletions

View file

@ -65,6 +65,11 @@ if (!defined('NOALYSS_ADMINISTRATOR')) {
if (!defined("SESSION_KEY")) {
define("SESSION_KEY", "RtYu0uu");
}
if ( !defined ('ADMIN_WEB')) {
$a=gethostname();
define('ADMIN_WEB',"noalyss-no-reply@$a");
}
require_once NOALYSS_INCLUDE . '/constant.security.php';
if (strpos($inc_path, ";") != 0) {