summaryrefslogtreecommitdiff
path: root/ext/gettext/tests/gettext_basic-enus.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/gettext/tests/gettext_basic-enus.phpt')
-rw-r--r--ext/gettext/tests/gettext_basic-enus.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/gettext/tests/gettext_basic-enus.phpt b/ext/gettext/tests/gettext_basic-enus.phpt
index aa6ede3abd..edbd31cc48 100644
--- a/ext/gettext/tests/gettext_basic-enus.phpt
+++ b/ext/gettext/tests/gettext_basic-enus.phpt
@@ -12,7 +12,7 @@ Gettext basic test with en_US locale that should be on nearly every system
--FILE--
<?php
-chdir(dirname(__FILE__));
+chdir(__DIR__);
putenv('LC_ALL=en_US.UTF-8');
setlocale(LC_ALL, 'en_US.UTF-8');
bindtextdomain ("messages", "./locale");