mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Last fix
This commit is contained in:
@@ -109,10 +109,10 @@ foreach ($filelist as $file) {
|
|||||||
|
|
||||||
if ($line[0] != '#') {
|
if ($line[0] != '#') {
|
||||||
if ($config['db']['extension'] == 'mysqli') {
|
if ($config['db']['extension'] == 'mysqli') {
|
||||||
|
$update = mysqli_query($database_link, $line);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$update = mysql_query($database_link, $line);
|
$update = mysql_query($line);
|
||||||
}
|
}
|
||||||
if (!$update) {
|
if (!$update) {
|
||||||
$err++;
|
$err++;
|
||||||
|
|||||||
Reference in New Issue
Block a user