Skip to content

Commit

Permalink
Reread temperature unit from setupVars.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
DL6ER committed Dec 11, 2016
1 parent 99ddf6c commit 28f2c15
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,17 @@
</div>
</form>
</div>
<?php
// CPU temperature unit
if(isset($setupVars["TEMPERATUREUNIT"]))
{
$temperatureunit = $setupVars["TEMPERATUREUNIT"];
}
else
{
$temperatureunit = "C";
}
?>
<div class="box box-success">
<div class="box-header with-border">
<h3 class="box-title">Web User Interface</h3>
Expand Down

0 comments on commit 28f2c15

Please sign in to comment.