1
0
moha/devices_logs.php
2022-01-28 23:05:58 +01:00

14 lines
254 B
PHP

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