]> git.mxchange.org Git - friendica.git/blobdiff - mod/profile_photo.php
share,retweet,relay,forward, whatever
[friendica.git] / mod / profile_photo.php
index 0f84a85c9235b529214c2f2d87fe933d9bb6ea15..5365aa3b878b4b79209a8f8cfe0159a1d739efcd 100644 (file)
@@ -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");
                        }