]> git.mxchange.org Git - friendica.git/blobdiff - mod/contacts.php
Edited view/sv/profile-hide-friends.tpl via GitHub
[friendica.git] / mod / contacts.php
index 36f42f8e59eef54c9c880fd8dbd46cd566df56a8..c2d28dc1f25e5d7363e041170724c66fb2fb5474 100644 (file)
@@ -13,7 +13,7 @@ function contacts_init(&$a) {
 
        $tpl = load_view_file('view/follow.tpl');
        $a->page['aside'] .= replace_macros($tpl,array(
-               '$label' => t('Connect/Follow [profile address]'),
+               '$label' => t('Connect/Follow'),
                '$hint' => t('Example: bob@example.com, http://example.com/barbara'),
                '$follow' => t('Follow')
        ));
@@ -124,9 +124,7 @@ function contacts_content(&$a) {
                if($cmd === 'update') {
 
                        // pull feed and consume it, which should subscribe to the hub.
-
-                       $php_path = ((x($a->config,'php_path') && strlen($a->config['php_path'])) ? $a->config['php_path'] : 'php');
-                       proc_run($php_path,"include/poller.php","$contact_id");
+                       proc_run('php',"include/poller.php","$contact_id");
                        goaway($a->get_baseurl() . '/contacts/' . $contact_id);
                        // NOTREACHED
                }