Requests::get_certificate_path()

最后更新于:2021-11-25 23:19:03

Requests::get_certificate_path()

Get default certificate path.

响应

(string) Default certificate path.

源文件

文件: gc-includes/class-requests.php

	public static function get_certificate_path() {
		if (!empty(self::$certificate_path)) {
			return self::$certificate_path;
		}

		return dirname(__FILE__) . '/Requests/Transport/cacert.pem';
	}