Adding hosting limit value.

1.9.x
Julio Montoya 10 years ago
parent b642b7d12b
commit 33d8dacd0d
  1. 5
      main/inc/lib/main_api.lib.php

@ -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);
}
}

Loading…
Cancel
Save