Make the hardcoded path to dir.friendica.com configurable

This commit is contained in:
Michael Vogel 2015-08-23 11:05:10 +02:00
parent 470920dbed
commit 123ad84689
7 changed files with 17 additions and 8 deletions

View file

@ -836,7 +836,7 @@ function dfrn_request_content(&$a) {
//$emailnet = (($mail_disabled) ? '' : t("<strike>Connect as an email follower</strike> \x28Coming soon\x29"));
$emailnet = "";
$invite_desc = t('If you are not yet a member of the free social web, <a href="http://dir.friendica.com/siteinfo">follow this link to find a public Friendica site and join us today</a>.');
$invite_desc = sprintf(t('If you are not yet a member of the free social web, <a href="%s/siteinfo">follow this link to find a public Friendica site and join us today</a>.', get_server()));
$o .= replace_macros($tpl,array(
'$header' => t('Friend/Connection Request'),