http://www.mediawiki.org/wiki/Special:Code/MediaWiki/72250
Revision: 72250
Author: tparscal
Date: 2010-09-03 00:48:22 +0000 (Fri, 03 Sep 2010)
Log Message:
-----------
Actually does what r72249 claimed to do.
Modified Paths:
--------------
trunk/phase3/maintenance/tests/phpunit
Modified: trunk/phase3/maintenance/tests/phpunit
===================================================================
--- trunk/phase3/maintenance/tests/phpunit 2010-09-03 00:41:52 UTC (rev
72249)
+++ trunk/phase3/maintenance/tests/phpunit 2010-09-03 00:48:22 UTC (rev
72250)
@@ -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 {
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs