aboutsummaryrefslogtreecommitdiffstats
path: root/tests/regex/censor_test.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/regex/censor_test.php')
-rw-r--r--tests/regex/censor_test.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/regex/censor_test.php b/tests/regex/censor_test.php
index 93c761c8d0..fa9104e71d 100644
--- a/tests/regex/censor_test.php
+++ b/tests/regex/censor_test.php
@@ -7,7 +7,7 @@
*
*/
-require_once __DIR__ . '/../../phpBB/includes/functions.php';
+require_once dirname(__FILE__) . '/../../phpBB/includes/functions.php';
class phpbb_regex_censor_test extends phpbb_test_case
{