enable all info-panels by default if no infobox is selected to avoid misconfiguration

This commit is contained in:
dg9vh 2017-03-04 19:25:11 +00:00
parent eadb8b3af8
commit bb48ee8c95
2 changed files with 9 additions and 1 deletions

View file

@ -101,6 +101,14 @@ checkSetup();
// Here you can feel free to disable info-sections by commenting out with // before include // Here you can feel free to disable info-sections by commenting out with // before include
include "include/txinfo.php"; include "include/txinfo.php";
showLapTime("txinfo"); showLapTime("txinfo");
if (!defined("SHOWCPU") AND !defined("SHOWDISK") AND !defined("SHOWRPTINFO") AND !defined("SHOWMODES") AND !defined("SHOWLH") AND !defined("SHOWLOCALTX")) {
define("SHOWCPU", "on");
define("SHOWDISK", "on");
define("SHOWRPTINFO", "on");
define("SHOWMODES", "on");
define("SHOWLH", "on");
define("SHOWLOCALTX", "on");
}
if (defined("SHOWCPU")) { if (defined("SHOWCPU")) {
include "include/sysinfo_ajax.php"; include "include/sysinfo_ajax.php";
showLapTime("sysinfo"); showLapTime("sysinfo");

View file

@ -1,3 +1,3 @@
<?php <?php
define("VERSION", "20170302-1"); define("VERSION", "20170304-1");
?> ?>