refactor: Tidy up sensor discovery (#5550)

* refactor: Tidy up sensor discovery

* more files

* removed uneeded files

* updated array check

* updates for linux/supermicro

* small changes

* Update linux.inc.php

* Add supermicro temps back to linux.inc.php

* No need for is_file on rfc1628.inc.php, it exists

* Revert rfc1628 change

* Fix whitespace...

* rebased

* fixed $valid data not being passed to new sensors() function
This commit is contained in:
Neil Lathwood
2017-02-03 12:39:38 +00:00
committed by Tony Murray
parent 008af4cea0
commit d4e8c54516
252 changed files with 6669 additions and 7323 deletions

View File

@@ -1,7 +1,6 @@
<?php
foreach (glob($config['install_dir'].'/'.$include_dir.'/*.inc.php') as $file) {
d_echo('Including: ' . $file . PHP_EOL);
include $file;
}