Reini Urban a écrit :
> 2009/2/27 <var...@us...>:
>> Revision: 6598
>> http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6598&view=rev
>> Author: vargenau
>> Date: 2009-02-27 12:54:19 +0000 (Fri, 27 Feb 2009)
>>
>> Log Message:
>> -----------
>> Disable verification of emails for corporate env.
>
> Good.
> Sending emails should be disabled for certain environments.
> But we already have this key: ENABLE_MAILNOTIFY = false
>
> Please use this instead.
>
>> + // Disable verification of emails for corporate env.
>> + if (defined('GFORGE') and GFORGE) {
>> + $doverify = false;
>> + }
Hello Reini,
ENABLE_MAILNOTIFY controls the fact that mails are sent or not.
In Gforge, what my above code does is to disable the verification
of the fact that the e-mail address is correct. When a user
registers in Gforge, the e-mail address is verified, so it is
not necesssary to do the check once again in Phpwiki.
Best regards,
Marc-Etienne
--
Marc-Etienne Vargenau
Alcatel-Lucent France, Route de Villejust, 91620 NOZAY, FRANCE
+33 (0)1 30 77 28 33, Mar...@al...
|