summaryrefslogtreecommitdiff
path: root/ext/fileinfo/tests/bug68731.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/fileinfo/tests/bug68731.phpt')
-rw-r--r--ext/fileinfo/tests/bug68731.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/fileinfo/tests/bug68731.phpt b/ext/fileinfo/tests/bug68731.phpt
index cba790925e..43083c9eec 100644
--- a/ext/fileinfo/tests/bug68731.phpt
+++ b/ext/fileinfo/tests/bug68731.phpt
@@ -6,7 +6,7 @@ if (!class_exists('finfo'))
die('skip no fileinfo extension');
--FILE--
<?php
- $buffer = file_get_contents(dirname(__FILE__) . '/68731.gif');
+ $buffer = file_get_contents(__DIR__ . '/68731.gif');
$finfo = finfo_open(FILEINFO_MIME_TYPE);
echo finfo_buffer($finfo, $buffer);
?>