From: Hypolite Petovan Date: Thu, 28 Jun 2018 03:18:58 +0000 (-0400) Subject: [pumpio] Add addon config X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9cc5f29dad30b1918bd9d8caf32cc2df8bc7a2c4;p=friendica-addons.git [pumpio] Add addon config - Update mentions of .htconfig.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'])) {