MRTG remove switch:
Switch:
// Include config file with path variable, etc... include ("c:\\mrtg\\conf\\config.inc.php"); $dir = dir($mrtg_config_dir); // echo "
"; while($filename=$dir->read()) { if (eregi("\.(cfg)$",$filename)) echo "
".substr($filename, 0, -4)."
"; } $dir->close(); //echo "
"; ?>
Option:
Delete config file
Delete stats
Delete html index