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'])) {