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