diff options
| author | 2015-07-23 13:54:34 +0200 | |
|---|---|---|
| committer | 2015-07-23 13:54:34 +0200 | |
| commit | baa36f158b59c9229e3f1a5a0edb6f1bb3a54198 (patch) | |
| tree | ce018e4d5c25dab9cee0c4c9a9cc2b6d80adeeaf | |
| parent | 339e32424fa60fc0c99a4c10890abef139444f6d (diff) | |
Add pubsubhubbub_enabled to default configuration
Rename enable_pubsubhubbub into pubsubhubbub_enabled
See https://github.com/FreshRSS/FreshRSS/issues/865
| -rw-r--r-- | app/install.php | 2 | ||||
| -rw-r--r-- | data/config.default.php | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/app/install.php b/app/install.php index 65138a683..5a774d7c1 100644 --- a/app/install.php +++ b/app/install.php @@ -229,7 +229,7 @@ function saveStep3() { 'prefix' => $_SESSION['bd_prefix'], 'pdo_options' => array(), ), - 'enable_pubsubhubbub' => server_is_public($base_url), + 'pubsubhubbub_enabled' => server_is_public($base_url), ); @unlink(join_path(DATA_PATH, 'config.php')); //To avoid access-rights problems diff --git a/data/config.default.php b/data/config.default.php index 5db933ff8..a7a29b12c 100644 --- a/data/config.default.php +++ b/data/config.default.php @@ -57,6 +57,10 @@ return array( # SimplePie, which is retrieving RSS feeds via HTTP requests. 'simplepie_syslog_enabled' => true, + # Enable or not support of PubSubHubbub. + # /!\ It should NOT be enabled if base_url is not reachable by an external server. + 'pubsubhubbub_enabled' => false, + 'limits' => array( # Duration in seconds of the SimplePie cache, |
