private function getFileexplorerPath($paramName = 'node')
{
$path = preg_replace("/^\\/fileexplorer/", "", $this->getParam($paramName));
$path = resolvePath(PIMCORE_DOCUMENT_ROOT . $path);
if (strpos($path, PIMCORE_DOCUMENT_ROOT) !== 0) {
throw new \Exception('operation permitted, permission denied');
}
return $path;
}