1
0
moha/devices_logs.php
daniel Tartavel cd20e973cd - some debugging
- adding logs in mysql database
2022-01-10 00:12:30 +01:00

14 lines
227 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);
}
}
?>