/**
  * [Describe function...]
  *
  * @param	[type]		$sPath: ...
  * @return	[type]		...
  */
 function toServerPath($sPath)
 {
     // removes the leading slash so the path _really_ is relative
     $sPath = tx_ameosformidable::_removeStartingSlash(tx_ameosformidable::toRelPath($sPath));
     if (file_exists($sPath) && is_dir($sPath) && $sPath[strlen($sPath) - 1] !== "/") {
         $sPath .= "/";
     }
     $sDocRoot = PATH_site;
     return tx_ameosformidable::_removeEndingSlash($sDocRoot) . "/" . $sPath;
 }