code: public String getAdjustedSiteRoot(String siteRoot, String resourcename) {
  
          if (resourcename.startsWith(VFS_PATH_SYSTEM)) {
              return "";
          } else {
              return siteRoot;
          }
      }
docs: Returns the adjusted site root for a resource using the provided site root as a base.<p>
  
  Usually, this would be the site root for the current site.
  However, if a resource from the <code>/system/</code> folder is requested,
  this will be the empty String.<p>
  
  @param siteRoot the site root of the current site
  @param resourcename the resource name to get the adjusted site root for
  
  @return the adjusted site root for the resource