From b4fd2154fe1d05d0a0e8e2e309acd3313020d3cb Mon Sep 17 00:00:00 2001 From: Maryana Rozhankivska Date: Wed, 19 Feb 2014 19:08:19 +0200 Subject: Full-Text RSS included as a script instead of file_get_contents call. Tnx to @Faless. Fix issues #366 and #463 --- inc/3rdparty/config.php | 2 ++ inc/3rdparty/makefulltextfeed.php | 1 + 2 files changed, 3 insertions(+) mode change 100644 => 100755 inc/3rdparty/config.php mode change 100644 => 100755 inc/3rdparty/makefulltextfeed.php (limited to 'inc/3rdparty') diff --git a/inc/3rdparty/config.php b/inc/3rdparty/config.php old mode 100644 new mode 100755 index 61fc0d0e..e618117b --- a/inc/3rdparty/config.php +++ b/inc/3rdparty/config.php @@ -11,6 +11,8 @@ // options you'd like to override in custom_config.php. // ..................................................... +global $options; + // Create config object if (!isset($options)) $options = new stdClass(); diff --git a/inc/3rdparty/makefulltextfeed.php b/inc/3rdparty/makefulltextfeed.php old mode 100644 new mode 100755 index 7104bc73..2852c4c2 --- a/inc/3rdparty/makefulltextfeed.php +++ b/inc/3rdparty/makefulltextfeed.php @@ -424,6 +424,7 @@ $http->rewriteUrls = $options->rewrite_url; ////////////////////////////////// // Set up Content Extractor ////////////////////////////////// +global $extractor; $extractor = new ContentExtractor(dirname(__FILE__).'/site_config/custom', dirname(__FILE__).'/site_config/standard'); $extractor->debug = $debug_mode; SiteConfig::$debug = $debug_mode; -- cgit v1.2.3