mirror of
https://github.com/processwire/processwire.git
synced 2025-08-13 18:24:57 +02:00
Fix issue processwire/processwire-issues#750 where WireShutdown email was missing a send() call
This commit is contained in:
@@ -126,6 +126,7 @@
|
||||
*
|
||||
* @property array $substituteModules Associative array with names of substitute modules for when requested module doesn't exist #pw-group-modules
|
||||
* @property array $logs Additional core logs to keep #pw-group-admin
|
||||
* @property bool $logIP Include IP address in logs, when applicable? #pw-group-admin
|
||||
* @property string $defaultAdminTheme Default admin theme: AdminThemeDefault or AdminThemeReno #pw-group-admin
|
||||
* @property string $fatalErrorHTML HTML used for fatal error messages in HTTP mode. #pw-group-system
|
||||
* @property array $modals Settings for modal windows #pw-group-admin
|
||||
|
@@ -330,7 +330,8 @@ class WireShutdown extends Wire {
|
||||
->to($config->adminEmail)
|
||||
->from($config->adminEmail)
|
||||
->subject($this->labels['email-subject'])
|
||||
->body("Page: $url\nUser: $name\n\n" . str_replace("\t", "\n", $message));
|
||||
->body("Page: $url\nUser: $name\n\n" . str_replace("\t", "\n", $message))
|
||||
->send();
|
||||
if($n) $who .= $this->labels['admin-notified'];
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user