prevents debug users from exploring system's directory structure * ex: $root = $_SERVER['DOCUMENT_ROOT']; */ $root = '/'; if (!$root) exit("ERROR: Root filesystem directory not set in jqueryFileTree.php"); $docroot = '/usr/local/emhttp'; require_once "$docroot/webGui/include/Secure.php"; $rootdir = realpath($root.$_POST['dir']); $filters = (array)($_POST['filter']); $match = unbundle($_POST['match']); $checkbox = $_POST['multiSelect']=='true' ? "" : ""; echo "