aboutsummaryrefslogtreecommitdiffstats
path: root/mod/profile_photo.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-03-16 19:36:59 -0700
committerFriendika <info@friendika.com>2011-03-16 19:36:59 -0700
commit3f432a7b82480dd985dbc2a67ae23cfc1ed258c6 (patch)
tree1fc92a535b189b0283273ff97517c74e4d79b20d /mod/profile_photo.php
parente2ea341094c53e78ae7473a83d2b6c85b1cde4eb (diff)
downloadvolse-hubzilla-3f432a7b82480dd985dbc2a67ae23cfc1ed258c6.tar.gz
volse-hubzilla-3f432a7b82480dd985dbc2a67ae23cfc1ed258c6.tar.bz2
volse-hubzilla-3f432a7b82480dd985dbc2a67ae23cfc1ed258c6.zip
share,retweet,relay,forward, whatever
Diffstat (limited to 'mod/profile_photo.php')
-rw-r--r--mod/profile_photo.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/profile_photo.php b/mod/profile_photo.php
index 0f84a85c9..5365aa3b8 100644
--- a/mod/profile_photo.php
+++ b/mod/profile_photo.php
@@ -87,7 +87,7 @@ function profile_photo_post(&$a) {
);
// Update global directory in background
- $url = $_SESSION['my_url'];
+ $url = $a->get_baseurl() . '/profile/' . $a->user['nickname'];
if($url && strlen(get_config('system','directory_submit_url')))
proc_run('php',"include/directory.php","$url");
}