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