summaryrefslogtreecommitdiff
path: root/ext/openssl/tests/bug39217.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/openssl/tests/bug39217.phpt')
-rw-r--r--ext/openssl/tests/bug39217.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/openssl/tests/bug39217.phpt b/ext/openssl/tests/bug39217.phpt
index b9c5e50a73..a1b20233e9 100644
--- a/ext/openssl/tests/bug39217.phpt
+++ b/ext/openssl/tests/bug39217.phpt
@@ -6,7 +6,7 @@ if (!extension_loaded("openssl")) die("skip");
?>
--FILE--
<?php
-$dir = dirname(__FILE__);
+$dir = __DIR__;
$certs = array('bug39217cert2.txt', 'bug39217cert1.txt');
foreach($certs as $cert) {
$res = openssl_x509_parse(file_get_contents($dir . '/' . $cert));