private function getIndexPath(MOXMAN_Vfs_IFile $file) { $path = $file->getPath(); $rootName = $file->getFileSystem()->getRootName(); $publicPath = MOXMAN_Util_PathUtils::combine($rootName !== "/" ? "/" . $rootName : $rootName, substr($path, strlen($file->getFileSystem()->getRootPath()))); return $publicPath; }