fix
This commit is contained in:
1 parent
c68dd27d6b
commit
90ef75889f
1 file changed
+1
-1
+1
-1
@@ -236,7 +236,7 @@ function getOS() {
|
||||
* Отправка уведомления на почту администратору
|
||||
*/
|
||||
function adminSendMail($subject, $message){
|
||||
$mail = new Mail;
|
||||
$mail = new CMail;
|
||||
$mail->from('iot@'.$_SERVER['SERVER_NAME'], 'Система оповещений IoT Core');
|
||||
$mail->to(ADMIN_EMAIL, 'Администратор панели');
|
||||
$mail->subject = $subject;
|
||||
|
||||
Reference in new issue
Block a user