protected static function returnPath($path, $absolute) { if (!$absolute) { $path = str_replace(PIMCORE_DOCUMENT_ROOT, "", $path); } return $path; }