ADMIN_WEB default to noalyss-no-reply
This commit is contained in:
parent
403b1f11c6
commit
dc3c41cafd
2 changed files with 7 additions and 1 deletions
|
|
@ -33,7 +33,8 @@ define ("DEBUGNOALYSS",0);
|
|||
// Uncomment if you want to activate the possibility to reinitialize
|
||||
// password by email
|
||||
// defined("RECOVER","1");
|
||||
// Uncomment and define if you want to Name of the sender of the email
|
||||
|
||||
// // Uncomment and define if you want to Name of the sender of the email
|
||||
// if you activate the possibility to reinitialize password by email
|
||||
// define('ADMIN_WEB', 'www-data@localhost');
|
||||
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue