summaryrefslogtreecommitdiff
path: root/ext/standard/tests/file/bug69628.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/tests/file/bug69628.phpt')
-rw-r--r--ext/standard/tests/file/bug69628.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/tests/file/bug69628.phpt b/ext/standard/tests/file/bug69628.phpt
index 7e18619a3e..378a8f722e 100644
--- a/ext/standard/tests/file/bug69628.phpt
+++ b/ext/standard/tests/file/bug69628.phpt
@@ -9,7 +9,7 @@ if (!defined('GLOB_BRACE')) {
--FILE--
<?php
-$file_path = dirname(__FILE__);
+$file_path = __DIR__;
// temp dirname used here
$dirname = "$file_path/bug69628";
@@ -33,7 +33,7 @@ function sort_var_dump($results) {
--CLEAN--
<?php
-$file_path = dirname(__FILE__);
+$file_path = __DIR__;
unlink("$file_path/bug69628/image.jPg");
unlink("$file_path/bug69628/image.gIf");
unlink("$file_path/bug69628/image.png");