Changed disable/enable option round

This commit is contained in:
laf
2014-10-02 22:56:28 +01:00
parent 183278f99f
commit 3f2f78a993
2 changed files with 2 additions and 2 deletions

View File

@@ -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>

View File

@@ -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
?>