diff --git a/include/config.inc.example b/include/config.inc.example index 6bb95ab48..bb59e7255 100644 --- a/include/config.inc.example +++ b/include/config.inc.example @@ -92,4 +92,9 @@ define ("DEBUGNOALYSS",0); // define ("NOALYSS_CAPTCHA",true); // When sending an email , the domain of this email must be in comma separated list , // if the list is an empty string then all the domain are allowed -// define ('ALLOWED_EMAIL_DOMAIN',''); \ No newline at end of file +// define ('ALLOWED_EMAIL_DOMAIN',''); +// //////// +// change NOALYSS_URL with your URL , +// with NGINX it is needed to set the NOALYSS_URL , it is the default URL of +// your installation, example with https://demo.noalyss.eu +// define ("NOALYSS_URL","https://demo.noalyss.eu"); \ No newline at end of file diff --git a/include/lib/config_file.php b/include/lib/config_file.php index 19eee50fc..a320b2017 100644 --- a/include/lib/config_file.php +++ b/include/lib/config_file.php @@ -284,13 +284,22 @@ function display_file_config($p_array, $from_setup = 1, $p_os = 1) echo PHP_EOL; printf("define ('SESSION_KEY','%s');", generate_random_string(10)); echo PHP_EOL; - printf("// When sending an email , the domain of this email must be in comma separated list ,"); + printf("// When sending an email, check if you can send with that domain, " + . PHP_EOL + . "// the domain of this email must be in comma separated list ,"); echo PHP_EOL; print ("// if the list is an empty string then all the domain are allowed"); echo PHP_EOL; printf("// define ('ALLOWED_EMAIL_DOMAIN','');"); echo PHP_EOL; - + $a=PHP_EOL; + echo <<