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);
    }
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);
    }
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 ) ; }
Gets the path with "index.html" append.

@return string Absolute path using either document root or server root (iternal requests)
Gets the path with index . html append .