mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Changed disable/enable option round
This commit is contained in:
@@ -66,7 +66,7 @@ if ($updated && $update_message)
|
||||
<div class="col-sm-1">
|
||||
</div>
|
||||
<?php
|
||||
if($config['disable_clear_discovery'] == 0) {
|
||||
if($config['enable_clear_discovery'] == 1) {
|
||||
?>
|
||||
<div class="col-sm-1">
|
||||
<button type="submit" id="rediscover" data-device_id="<?php echo($device['device_id']); ?>" class="btn btn-primary" name="rediscover">Rediscover device</button>
|
||||
|
@@ -578,6 +578,6 @@ $config['dateformat']['long'] = "r"; # RFC2822 style
|
||||
$config['dateformat']['compact'] = "Y-m-d H:i:s";
|
||||
$config['dateformat']['time'] = "H:i:s";
|
||||
|
||||
$config['disable_clear_discovery'] = 0;// Set this to 1 if you want to disable the web option to rediscover devices
|
||||
$config['enable_clear_discovery'] = 1;// Set this to 0 if you want to disable the web option to rediscover devices
|
||||
|
||||
?>
|
||||
|
Reference in New Issue
Block a user