summaryrefslogtreecommitdiff
path: root/ext/gettext/tests/gettext_dngettext-plural.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/gettext/tests/gettext_dngettext-plural.phpt')
-rw-r--r--ext/gettext/tests/gettext_dngettext-plural.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/gettext/tests/gettext_dngettext-plural.phpt b/ext/gettext/tests/gettext_dngettext-plural.phpt
index 0380785bf1..50bddc9a93 100644
--- a/ext/gettext/tests/gettext_dngettext-plural.phpt
+++ b/ext/gettext/tests/gettext_dngettext-plural.phpt
@@ -10,7 +10,7 @@ if (!setlocale(LC_ALL, 'en_US.UTF-8')) {
}
--FILE--
<?php
-chdir(dirname(__FILE__));
+chdir(__DIR__);
putenv('LC_ALL=en_US.UTF-8');
setlocale(LC_ALL, 'en_US.UTF-8');
bindtextdomain('dngettextTest', './locale');