Skip to content

Commit b5406d9

Browse files
Merge pull request #17 from ZhouyihaiDing/dir_path
Update the path for root.pem
2 parents 22ce4b5 + 8ea5e5a commit b5406d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/BaseStub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public function __construct($hostname, $opts, $channel = null)
4545
{
4646
if (!ChannelCredentials::isDefaultRootsPemSet()) {
4747
$ssl_roots = file_get_contents(
48-
dirname(__FILE__).'/../../../../etc/roots.pem'
48+
dirname(__FILE__).'/../../etc/roots.pem'
4949
);
5050
ChannelCredentials::setDefaultRootsPem($ssl_roots);
5151
}

0 commit comments

Comments
 (0)