| 112 |
$mimenote = ""; |
$mimenote = ""; |
| 113 |
$msg = "Site mail is being redirected to <strong>". variable_get('mail_redirect_domain', null) ."</strong>"; |
$msg = "Site mail is being redirected to <strong>". variable_get('mail_redirect_domain', null) ."</strong>"; |
| 114 |
$severity = REQUIREMENT_WARNING; |
$severity = REQUIREMENT_WARNING; |
| 115 |
// check if mimemail module is sintaleld and if it has been patched |
// check if mimemail module is installed and if it has been patched |
| 116 |
if (module_exists("mimemail")) { |
if (module_exists("mimemail")) { |
| 117 |
$mimenote = "Mimemail is being used on your site, "; |
$mimenote = "Mimemail is being used on your site, "; |
| 118 |
$mimemail_code = file_get_contents(drupal_get_path('module', 'mimemail') . "/mimemail.module"); |
$mimemail_code = file_get_contents(drupal_get_path('module', 'mimemail') . "/mimemail.module"); |
| 128 |
} |
} |
| 129 |
else { |
else { |
| 130 |
$msg = "Mail redirect is installed but your mail is not set to be redirected."; |
$msg = "Mail redirect is installed but your mail is not set to be redirected."; |
| 131 |
$severity = REQUIREMENT_OK; |
$severity = REQUIREMENT_ERROR; |
| 132 |
} |
} |
| 133 |
$requirements['mail_redirect_status'] = array( |
$requirements['mail_redirect_status'] = array( |
| 134 |
'title' => 'Mail Redirect', |
'title' => 'Mail Redirect', |