1
0
moha/devices_logs.php

14 lines
254 B
PHP
Raw Permalink Normal View History

<?php
function logDevice(& $device, $key, $value)
{
$db = new mysqli($mysqlServer, $username, $passwd, $database);
if ($conn->connect_error)
{
2022-01-28 23:05:58 +01:00
logger(ERROR, _("Mysql connection failed: ") . $db->connect_error, __FILE__ . ":" . __LINE__);
}
}
?>