private function parseFilename($filename) {
    if (defined('DRUPAL_ROOT') && stripos($filename, DRUPAL_ROOT) === 0) {
      return substr($filename, strpos($filename, DRUPAL_ROOT) + strlen(DRUPAL_ROOT) + 1);
    }
    else {
      return $filename;
    }
  }
private function parseFilename($filename) {
    if (defined('DRUPAL_ROOT') && stripos($filename, DRUPAL_ROOT) === 0) {
      return substr($filename, strpos($filename, DRUPAL_ROOT) + strlen(DRUPAL_ROOT) + 1);
    }
    else {
      return $filename;
    }
  }
private function parseFilename ( $ filename ) { if ( defined ( 'DRUPAL_ROOT' ) && stripos ( $ filename , DRUPAL_ROOT ) === 0 ) { return substr ( $ filename , strpos ( $ filename , DRUPAL_ROOT ) + strlen ( DRUPAL_ROOT ) + 1 ) ; } else { return $ filename ; } }
Resolve the proper filename for an environment file.

@param string $filename
The filename.

@return string
The resolved filename.
Resolve the proper filename for an environment file .