From 9cc5f29dad30b1918bd9d8caf32cc2df8bc7a2c4 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Wed, 27 Jun 2018 23:18:58 -0400 Subject: [PATCH] [pumpio] Add addon config - Update mentions of .htconfig.php --- pumpio/README.md | 7 ++++--- pumpio/config/pumpio.ini.php | 21 +++++++++++++++++++++ pumpio/pumpio.php | 7 +++++++ 3 files changed, 32 insertions(+), 3 deletions(-) create mode 100644 pumpio/config/pumpio.ini.php diff --git a/pumpio/README.md b/pumpio/README.md index 4dd90d5f..8db84f61 100644 --- a/pumpio/README.md +++ b/pumpio/README.md @@ -1,5 +1,6 @@ -To let the connector work properly you should define an application name in the .htconfig: +To let the connector work properly you should define an application name in config/local.ini.php: -$a->config['pumpio']['application_name'] = "Name of you site"; +[pumpio] +application_name = Name of you site -This name appears at pump.io and is important for not mirroring back posts that came from friendica. +This name appears at pump.io and is important for not mirroring back posts that came from Friendica. diff --git a/pumpio/config/pumpio.ini.php b/pumpio/config/pumpio.ini.php new file mode 100644 index 00000000..1840cea9 --- /dev/null +++ b/pumpio/config/pumpio.ini.php @@ -0,0 +1,21 @@ +loadConfigFile(__DIR__. '/config/pumpio.ini.php'); +} + function pumpio_post_local(&$a, &$b) { if (!local_user() || (local_user() != $b['uid'])) {