summaryrefslogtreecommitdiff
path: root/www/wiki
diff options
context:
space:
mode:
authorYaco <franco@reevo.org>2019-11-30 04:25:08 -0300
committerYaco <franco@reevo.org>2019-11-30 04:25:08 -0300
commit968bacc8775021d0164e26a51db9e9c08f0c9341 (patch)
tree651b08cdf750a9fda87ba2725554d5b4ab53a8f9 /www/wiki
parent96da58f50af1e69ac4e21508ea1b4e141fd3d880 (diff)
mejora envio de correos de contacto y de nuevos usuarios
Diffstat (limited to 'www/wiki')
-rw-r--r--www/wiki/LocalSettings.Reevo.php9
1 files changed, 6 insertions, 3 deletions
diff --git a/www/wiki/LocalSettings.Reevo.php b/www/wiki/LocalSettings.Reevo.php
index 64704bec..ca57893a 100644
--- a/www/wiki/LocalSettings.Reevo.php
+++ b/www/wiki/LocalSettings.Reevo.php
@@ -408,13 +408,14 @@ require_once( "$IP/extensions/HideEmptySections/HideEmptySections.php" );
## NewUserNotif
require_once "$IP/extensions/NewUserNotif/NewUserNotif.php";
$wgNewUserNotifEmailTargets = array(
- 'sysadmins@reevo.org'
+ 'info2019@reevo.org'
);
## ContactPage
+$wgUserEmailUseReplyTo = true;
wfLoadExtension( 'ContactPage' );
$wgContactConfig['default'] = array(
- 'RecipientUser' => 'Yaco', // Must be the name of a valid account which also has a verified e-mail-address added to it.
+ 'RecipientUser' => 'Reebot', // Must be the name of a valid account which also has a verified e-mail-address added to it.
'SenderName' => 'Contact Form on ' . $wgSitename, // "Contact Form on" needs to be translated
'SenderEmail' => null, // Defaults to $wgPasswordSender, may be changed as required
'RequireDetails' => true, // Either "true" or "false" as required
@@ -437,7 +438,9 @@ $wgCaptchaTriggers['contactpage'] = true;
$wgHooks['EmailUser'][] = function ( &$address, &$from, &$subject, &$text, &$error ) {
global $wgPasswordSender;
- $from->address = $wgPasswordSender;
+ $subject = '[reevo.wiki] Contacto: ' . $subject;
+ $address->address = 'info2019@reevo.org';
+# $from->address = $wgPasswordSender;
};