From 0abf8cb791ce95df2a5a0d2d71911bd348ba974a Mon Sep 17 00:00:00 2001 From: Trevor Parscal Date: Fri, 3 Sep 2010 00:48:22 +0000 Subject: [PATCH] Actually does what r72249 claimed to do. --- maintenance/tests/phpunit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maintenance/tests/phpunit b/maintenance/tests/phpunit index ab13e84a74..9455d5016c 100755 --- a/maintenance/tests/phpunit +++ b/maintenance/tests/phpunit @@ -3,7 +3,7 @@ require( dirname( __FILE__ ) . '/../commandLine.inc' ); // XXX: This can go away if everyone switches to PHPUnit 3.5 -if ( file_exists( get_include_path() . '/PHPUnit/Autoload.php' ) ) { +if ( file_get_contents( 'PHPUnit/Autoload.php', true ) !== false ) { // Works for PHPUnit >= 3.5 require_once 'PHPUnit/Autoload.php'; } else { -- 2.20.1