Ejemplo n.º 1
0
 public static function convertSiteRelativeToAbsolute($relativePath, $site = null)
 {
     if (!is_string($relativePath) || $relativePath == "") {
         $site = SITE_ID;
     }
     $basePath = CSite::getSiteDocRoot($site);
     return self::combine($basePath, $relativePath);
 }