add cloud link to profile_tabs and Comanchify the sucker

This commit is contained in:
friendica
2014-01-09 19:00:06 -08:00
parent 170d4c9c68
commit 49882f2be4
3 changed files with 27 additions and 0 deletions

View File

@@ -32,6 +32,21 @@ function cloud_init(&$a) {
require_once('include/reddav.php');
$which = null;
if(argc() > 1)
$which = argv(1);
$profile = 0;
$channel = $a->get_channel();
$a->page['htmlhead'] .= '<link rel="alternate" type="application/atom+xml" href="' . $a->get_baseurl() . '/feed/' . $which .'" />' . "\r\n" ;
if($which)
profile_load($a,$which,$profile);
$auth = new RedBasicAuth();
$ob_hash = get_observer_hash();