index.php 396 B

12345678910111213141516171819
  1. <?php
  2. if (cfr('SYSINFO')) {
  3. $sysInfo = new SystemInfo();
  4. $systemHealth = '';
  5. if (cfr('ROOT')) {
  6. $systemHealth .= $sysInfo->renderSerialInfo();
  7. }
  8. $systemHealth .= $sysInfo->renderSysLoad();
  9. $systemHealth .= $sysInfo->renderDisksCapacity();
  10. show_window(__('System health'), $systemHealth);
  11. wr_Stats();
  12. } else {
  13. show_error(__('Access denied'));
  14. }