diff options
author | Erik Frèrejean <erikfrerejean@phpbb.com> | 2011-01-31 12:58:18 +0100 |
---|---|---|
committer | Erik Frèrejean <erikfrerejean@phpbb.com> | 2011-01-31 12:58:18 +0100 |
commit | 14891cdf4ecf0e3ee164962be6685b8563f37a15 (patch) | |
tree | 8877caadc2d6bff92677fd059bd36e53fcd8989f /tests/network | |
parent | Merge branch 'ticket/nickvergessen/9989' into develop-olympus (diff) | |
download | phpbb-14891cdf4ecf0e3ee164962be6685b8563f37a15.tar.gz phpbb-14891cdf4ecf0e3ee164962be6685b8563f37a15.tar.bz2 phpbb-14891cdf4ecf0e3ee164962be6685b8563f37a15.zip |
[ticket/10011] Tests don't work on PHP < 5.3
Due to the usage of `__DIR__` for the file includes the tests can't
be ran on systems with PHP < 5.3. Replace all occurances of
`__DIR__` with `dirname(__FILE__)`.
PHPBB3-10011
Diffstat (limited to 'tests/network')
-rw-r--r-- | tests/network/checkdnsrr_test.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/network/checkdnsrr_test.php b/tests/network/checkdnsrr_test.php index 9410deaf64..5a756dcef8 100644 --- a/tests/network/checkdnsrr_test.php +++ b/tests/network/checkdnsrr_test.php @@ -7,7 +7,7 @@ * */ -require_once __DIR__ . '/../../phpBB/includes/functions.php'; +require_once dirname(__FILE__) . '/../../phpBB/includes/functions.php'; /** * @group slow |