* Only load that file when necessary and use full path to include it
* Set missing svn:eol-style property
}
}
-?>
\ No newline at end of file
/**
* @defgroup DifferenceEngine DifferenceEngine
*/
-global $wgExternalDiffEngine;
-if($wgExternalDiffEngine == 'wikidiff3'){
- require_once( 'Diff.php' );
-}
/**
* Constant to indicate diff cache compatibility.
if($wgExternalDiffEngine == 'wikidiff3'){
// wikidiff3
+ global $IP;
+ require_once( "$IP/includes/Diff.php" );
list($this->xchanged, $this->ychanged) = wikidiff3_diff($from_lines, $to_lines, TRUE, 100000);
}else{
// old diff