diff options
Diffstat (limited to 'inc/3rdparty')
-rwxr-xr-x[-rw-r--r--] | inc/3rdparty/config.php | 2 | ||||
-rwxr-xr-x[-rw-r--r--] | inc/3rdparty/makefulltextfeed.php | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/inc/3rdparty/config.php b/inc/3rdparty/config.php index 61fc0d0e..e618117b 100644..100755 --- a/inc/3rdparty/config.php +++ b/inc/3rdparty/config.php | |||
@@ -11,6 +11,8 @@ | |||
11 | // options you'd like to override in custom_config.php. | 11 | // options you'd like to override in custom_config.php. |
12 | // ..................................................... | 12 | // ..................................................... |
13 | 13 | ||
14 | global $options; | ||
15 | |||
14 | // Create config object | 16 | // Create config object |
15 | if (!isset($options)) $options = new stdClass(); | 17 | if (!isset($options)) $options = new stdClass(); |
16 | 18 | ||
diff --git a/inc/3rdparty/makefulltextfeed.php b/inc/3rdparty/makefulltextfeed.php index 7104bc73..2852c4c2 100644..100755 --- a/inc/3rdparty/makefulltextfeed.php +++ b/inc/3rdparty/makefulltextfeed.php | |||
@@ -424,6 +424,7 @@ $http->rewriteUrls = $options->rewrite_url; | |||
424 | ////////////////////////////////// | 424 | ////////////////////////////////// |
425 | // Set up Content Extractor | 425 | // Set up Content Extractor |
426 | ////////////////////////////////// | 426 | ////////////////////////////////// |
427 | global $extractor; | ||
427 | $extractor = new ContentExtractor(dirname(__FILE__).'/site_config/custom', dirname(__FILE__).'/site_config/standard'); | 428 | $extractor = new ContentExtractor(dirname(__FILE__).'/site_config/custom', dirname(__FILE__).'/site_config/standard'); |
428 | $extractor->debug = $debug_mode; | 429 | $extractor->debug = $debug_mode; |
429 | SiteConfig::$debug = $debug_mode; | 430 | SiteConfig::$debug = $debug_mode; |