summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Renard <[email protected]>2012-12-27 13:35:24 +0100
committerThomas Renard <[email protected]>2012-12-27 13:35:24 +0100
commit741ff8f405a8556c6c8be360a10a71b735b7ce41 (patch)
tree2e04b09a58225ea3d59318b666b51ca6751930e2
parenta98cd5c5264a482bb2d6daf3b3dbedf32c5a1d8e (diff)
OWNCLOUD_URL-parameter out of config.php-dist
Comment in plugins/owncloud/owncloud.php
-rw-r--r--config.php-dist5
-rw-r--r--plugins/owncloud/owncloud.php6
2 files changed, 6 insertions, 5 deletions
diff --git a/config.php-dist b/config.php-dist
index db6ec661f..e0949c61e 100644
--- a/config.php-dist
+++ b/config.php-dist
@@ -176,11 +176,6 @@
// Displays an URL for users to provide feedback or comments regarding
// this instance of tt-rss. Can lead to a forum, contact email, etc.
- define('OWNCLOUD_URL', '');
- // owncloud-plugin:
- // This is the base url of your owncloud server as called from the browser
- // Actually this is a server global parameter only
-
define('CONFIG_VERSION', 26);
// Expected config version. Please update this option in config.php
// if necessary (after migrating all new options from this file).
diff --git a/plugins/owncloud/owncloud.php b/plugins/owncloud/owncloud.php
index e63ff959c..d7007e0f0 100644
--- a/plugins/owncloud/owncloud.php
+++ b/plugins/owncloud/owncloud.php
@@ -1,4 +1,10 @@
<?php
+// This plugin creates ReadLater bookmarks in your owncloud.
+// The plugin needs a
+// define('OWNCLOUD_URL','http(s)://your.serv.er/owncloud');
+// in your config.php. The parameter is actually global. user_pref
+// with editable parameter in future versions.
+
require_once "config.php";
class OwnCloud extends Plugin {