aboutsummaryrefslogtreecommitdiffstats
path: root/mod/cloud.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-01-09 19:00:06 -0800
committerfriendica <info@friendica.com>2014-01-09 19:00:06 -0800
commit49882f2be4ef9d1b28c72f8101fe9b15d7176ff6 (patch)
tree6a6c180ed37609a191a14e0657639388a21c2c93 /mod/cloud.php
parent170d4c9c68486d875f3b7f9574bb0b00524b5f33 (diff)
downloadvolse-hubzilla-49882f2be4ef9d1b28c72f8101fe9b15d7176ff6.tar.gz
volse-hubzilla-49882f2be4ef9d1b28c72f8101fe9b15d7176ff6.tar.bz2
volse-hubzilla-49882f2be4ef9d1b28c72f8101fe9b15d7176ff6.zip
add cloud link to profile_tabs and Comanchify the sucker
Diffstat (limited to 'mod/cloud.php')
-rw-r--r--mod/cloud.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/mod/cloud.php b/mod/cloud.php
index a72d0f108..29218f84e 100644
--- a/mod/cloud.php
+++ b/mod/cloud.php
@@ -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();