summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php9
1 files changed, 7 insertions, 2 deletions
diff --git a/index.php b/index.php
index 3c34316..457f85c 100644
--- a/index.php
+++ b/index.php
@@ -1,6 +1,5 @@
<?php
-require 'libs/Utils/Misc.class.php';
-require 'libs/Utils/Config.class.php';
+require 'autoload.php';
$Config = new Config();
$update = $Config->checkUpdate();
?>
@@ -169,6 +168,12 @@ $update = $Config->checkUpdate();
<td>Bogomips</td>
<td id="cpu-bogomips"></td>
</tr>
+ <?php if ($Config->get('cpu:enable_temperature')): ?>
+ <tr>
+ <td>Temperature</td>
+ <td id="cpu-temp"></td>
+ </tr>
+ <?php endif; ?>
</tbody>
</table>
</div>