On this pageFunction: isPathWithin() isPathWithin(root, file): boolean Whether file is root or inside it. Both are compared as given (no symlink is resolved): pass real paths to compare real locations. Parameters root string file string Returns boolean