|
|
|
@ -7405,7 +7405,10 @@ function api_warn_hosting_contact($limitName) |
|
|
|
|
if (!empty($email)) { |
|
|
|
|
$subject = get_lang('HostingWarningReached'); |
|
|
|
|
$body = get_lang('Portal').': '.api_get_path(WEB_PATH)." \n "; |
|
|
|
|
$body .= get_lang('Limit').': '.$limitName; |
|
|
|
|
$body .= get_lang('Limit').': '.$limitName." \n "; |
|
|
|
|
if (isset($hostingParams[$limitName])) { |
|
|
|
|
$body .= get_lang('Value') . ': ' . $hostingParams[$limitName]; |
|
|
|
|
} |
|
|
|
|
api_mail_html(null, $email, $subject, $body); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|