+HTM;
+
+if (array_sum($GLOBALS['phorkie']['cfgfiles']) == 0) {
+ //no config file loaded
+ reset($GLOBALS['phorkie']['cfgfiles']);
+ list($cfgFilePath, ) = each($GLOBALS['phorkie']['cfgfiles']);
+
+ $cfgFilePath = Tools::foldPath($cfgFilePath);
+ $cfgFileTemplate = htmlspecialchars(
+ file_get_contents(__DIR__ . '/../data/config.php.dist')
+ );
+ $cfgFileLines = count(explode("\n", $cfgFileTemplate));
+
+ $out .= <<<HTM
+ <h3 id="configfile">Configuration file</h3>