original_string: public function getPathFilename()
      {
          $path = $this->getPath();
  
          if ($this->isInternal()) {
              return $this->serverRoot.$path;
          }
  
          $path = $this->documentRoot.$path;
  
          if (is_dir($path) === true) {
              $path .= '/index.html';
          }
  
          return preg_replace('/\/\/+/', '/', $path);
      }
code: public function getPathFilename()
      {
          $path = $this->getPath();
  
          if ($this->isInternal()) {
              return $this->serverRoot.$path;
          }
  
          $path = $this->documentRoot.$path;
  
          if (is_dir($path) === true) {
              $path .= '/index.html';
          }
  
          return preg_replace('/\/\/+/', '/', $path);
      }
code_tokens: public function getPathFilename ( ) { $ path = $ this -> getPath ( ) ; if ( $ this -> isInternal ( ) ) { return $ this -> serverRoot . $ path ; } $ path = $ this -> documentRoot . $ path ; if ( is_dir ( $ path ) === true ) { $ path .= '/index.html' ; } return preg_replace ( '/\/\/+/' , '/' , $ path ) ; }
docstring: Gets the path with "index.html" append.
  
  @return string Absolute path using either document root or server root (iternal requests)
docstring_tokens: Gets the path with index . html append .