summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--content_history_inc.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/content_history_inc.php b/content_history_inc.php
index cacebbb..ae1d253 100644
--- a/content_history_inc.php
+++ b/content_history_inc.php
@@ -34,8 +34,7 @@ if (isset($_REQUEST["delete"]) && isset($_REQUEST["hist"])) {
* run 'pear install Text_Diff' to install the library,
*/
if( $gBitSystem->isFeatureActive('liberty_inline_diff') ) {
- require_once('PEAR.php');
- if( @include_once( 'Text/Diff.php' ) ) {
+ if( @include_once( 'PEAR.php') && @@include_once( 'Text/Diff.php' ) ) {
include_once( 'Text/Diff/Renderer/inline.php' );
$diff = &new Text_Diff($from_lines,$to_lines);
$renderer = &new Text_Diff_Renderer_inline();