protected function set_installed_apis() {
		if ( file_exists( __DIR__ . '/API/Bitbucket_API.php' ) ) {
			self::$installed_apis['bitbucket_api'] = true;
			self::$git_servers['bitbucket']        = 'Bitbucket';
		} else {
			self::$installed_apis['bitbucket_api'] = false;
		}

		self::$installed_apis['bitbucket_server_api'] = file_exists( __DIR__ . '/API/Bitbucket_Server_API.php' );

		if ( file_exists( __DIR__ . '/API/GitLab_API.php' ) ) {
			self::$installed_apis['gitlab_api'] = true;
			self::$git_servers['gitlab']        = 'GitLab';
		} else {
			self::$installed_apis['gitlab_api'] = false;
		}
		if ( file_exists( __DIR__ . '/API/Gitea_API.php' ) ) {
			self::$installed_apis['gitea_api'] = true;
			self::$git_servers['gitea']        = 'Gitea';
		} else {
			self::$installed_apis['gitea_api'] = false;
		}
		if ( file_exists( __DIR__ . '/API/Zipfile_API.php' ) ) {
			self::$installed_apis['zipfile_api'] = true;
			self::$git_servers['zipfile']        = 'Zipfile';
		} else {
			self::$installed_apis['zipfile_api'] = false;
		}
	}
protected function set_installed_apis() {
		if ( file_exists( __DIR__ . '/API/Bitbucket_API.php' ) ) {
			self::$installed_apis['bitbucket_api'] = true;
			self::$git_servers['bitbucket']        = 'Bitbucket';
		} else {
			self::$installed_apis['bitbucket_api'] = false;
		}

		self::$installed_apis['bitbucket_server_api'] = file_exists( __DIR__ . '/API/Bitbucket_Server_API.php' );

		if ( file_exists( __DIR__ . '/API/GitLab_API.php' ) ) {
			self::$installed_apis['gitlab_api'] = true;
			self::$git_servers['gitlab']        = 'GitLab';
		} else {
			self::$installed_apis['gitlab_api'] = false;
		}
		if ( file_exists( __DIR__ . '/API/Gitea_API.php' ) ) {
			self::$installed_apis['gitea_api'] = true;
			self::$git_servers['gitea']        = 'Gitea';
		} else {
			self::$installed_apis['gitea_api'] = false;
		}
		if ( file_exists( __DIR__ . '/API/Zipfile_API.php' ) ) {
			self::$installed_apis['zipfile_api'] = true;
			self::$git_servers['zipfile']        = 'Zipfile';
		} else {
			self::$installed_apis['zipfile_api'] = false;
		}
	}
protected function set_installed_apis ( ) { if ( file_exists ( __DIR__ . '/API/Bitbucket_API.php' ) ) { self :: $ installed_apis [ 'bitbucket_api' ] = true ; self :: $ git_servers [ 'bitbucket' ] = 'Bitbucket' ; } else { self :: $ installed_apis [ 'bitbucket_api' ] = false ; } self :: $ installed_apis [ 'bitbucket_server_api' ] = file_exists ( __DIR__ . '/API/Bitbucket_Server_API.php' ) ; if ( file_exists ( __DIR__ . '/API/GitLab_API.php' ) ) { self :: $ installed_apis [ 'gitlab_api' ] = true ; self :: $ git_servers [ 'gitlab' ] = 'GitLab' ; } else { self :: $ installed_apis [ 'gitlab_api' ] = false ; } if ( file_exists ( __DIR__ . '/API/Gitea_API.php' ) ) { self :: $ installed_apis [ 'gitea_api' ] = true ; self :: $ git_servers [ 'gitea' ] = 'Gitea' ; } else { self :: $ installed_apis [ 'gitea_api' ] = false ; } if ( file_exists ( __DIR__ . '/API/Zipfile_API.php' ) ) { self :: $ installed_apis [ 'zipfile_api' ] = true ; self :: $ git_servers [ 'zipfile' ] = 'Zipfile' ; } else { self :: $ installed_apis [ 'zipfile_api' ] = false ; } }
Set boolean for installed API classes.
Set boolean for installed API classes .