summaryrefslogtreecommitdiff
path: root/ext/gettext/tests/gettext_basic.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/gettext/tests/gettext_basic.phpt')
-rw-r--r--ext/gettext/tests/gettext_basic.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/gettext/tests/gettext_basic.phpt b/ext/gettext/tests/gettext_basic.phpt
index 4d300835b3..26e7b7017e 100644
--- a/ext/gettext/tests/gettext_basic.phpt
+++ b/ext/gettext/tests/gettext_basic.phpt
@@ -12,7 +12,7 @@ Gettext basic test
--FILE--
<?php
-chdir(dirname(__FILE__));
+chdir(__DIR__);
putenv('LC_ALL=fi_FI');
setlocale(LC_ALL, 'fi_FI');
bindtextdomain ("messages", "./locale");