summaryrefslogtreecommitdiff
path: root/sapi/cgi/tests/006.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'sapi/cgi/tests/006.phpt')
-rw-r--r--sapi/cgi/tests/006.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/cgi/tests/006.phpt b/sapi/cgi/tests/006.phpt
index bc98656b49..c78229880c 100644
--- a/sapi/cgi/tests/006.phpt
+++ b/sapi/cgi/tests/006.phpt
@@ -11,7 +11,7 @@ include "include.inc";
$php = get_cgi_path();
reset_env_vars();
-$filename = dirname(__FILE__)."/006.test.php";
+$filename = __DIR__."/006.test.php";
$code = '
<?php