private function checkHostFolders(string $path) : bool
    {
        echo "Checking folders of host...\n";
        $retval =
            $this->checkFolder($path, 'private') ||
            $this->checkFolder($path, 'httpdocs') ||
            $this->checkFolder($path, 'httpsdocs') ||
            $this->checkFolder($path, 'phputils') ||
            $this->checkFolder($path, 'templates');
        echo "OK\n";

        return $retval;
    }
private function checkHostFolders(string $path) : bool
    {
        echo "Checking folders of host...\n";
        $retval =
            $this->checkFolder($path, 'private') ||
            $this->checkFolder($path, 'httpdocs') ||
            $this->checkFolder($path, 'httpsdocs') ||
            $this->checkFolder($path, 'phputils') ||
            $this->checkFolder($path, 'templates');
        echo "OK\n";

        return $retval;
    }
private function checkHostFolders ( string $ path ) : bool { echo "Checking folders of host...\n" ; $ retval = $ this -> checkFolder ( $ path , 'private' ) || $ this -> checkFolder ( $ path , 'httpdocs' ) || $ this -> checkFolder ( $ path , 'httpsdocs' ) || $ this -> checkFolder ( $ path , 'phputils' ) || $ this -> checkFolder ( $ path , 'templates' ) ; echo "OK\n" ; return $ retval ; }
Check if Host Folders exists.
@param string $path Base path to check.
@return bool Returns true if success.
Check if Host Folders exists .