aboutsummaryrefslogtreecommitdiffstats
path: root/tests/random/gen_rand_string_test.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2011-01-31 13:18:37 +0100
committerAndreas Fischer <bantu@phpbb.com>2011-01-31 13:18:37 +0100
commite685c1c005ec146fe802f1ff6fb38cb1fe34ed7a (patch)
tree59507228873666fcb5365f05888ddcfc2a57b1c7 /tests/random/gen_rand_string_test.php
parentc3a43126504b5eddfa684e900d888dfcbd3dd281 (diff)
parent14891cdf4ecf0e3ee164962be6685b8563f37a15 (diff)
downloadforums-e685c1c005ec146fe802f1ff6fb38cb1fe34ed7a.tar
forums-e685c1c005ec146fe802f1ff6fb38cb1fe34ed7a.tar.gz
forums-e685c1c005ec146fe802f1ff6fb38cb1fe34ed7a.tar.bz2
forums-e685c1c005ec146fe802f1ff6fb38cb1fe34ed7a.tar.xz
forums-e685c1c005ec146fe802f1ff6fb38cb1fe34ed7a.zip
Merge branch 'ticket/erikfrerejean/10011' into develop-olympus
* ticket/erikfrerejean/10011: [ticket/10011] Tests don't work on PHP < 5.3
Diffstat (limited to 'tests/random/gen_rand_string_test.php')
-rw-r--r--tests/random/gen_rand_string_test.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/random/gen_rand_string_test.php b/tests/random/gen_rand_string_test.php
index fa519f134c..115c55e4e2 100644
--- a/tests/random/gen_rand_string_test.php
+++ b/tests/random/gen_rand_string_test.php
@@ -7,7 +7,7 @@
*
*/
-require_once __DIR__ . '/../../phpBB/includes/functions.php';
+require_once dirname(__FILE__) . '/../../phpBB/includes/functions.php';
class phpbb_random_gen_rand_string_test extends phpbb_test_case
{