mirror of
https://github.com/friendica/friendica
synced 2025-04-27 15:50:12 +00:00
parameters and getURLpath to getURLPath
This commit is contained in:
parent
3eb4332f33
commit
307286fc47
12 changed files with 22 additions and 22 deletions
|
@ -453,8 +453,8 @@ function dfrn_request_post(App $a)
|
|||
if ($network == Protocol::DIASPORA) {
|
||||
$uri = $nickname . '@' . $a->getHostName();
|
||||
|
||||
if ($a->getURLpath()) {
|
||||
$uri .= '/' . $a->getURLpath();
|
||||
if ($a->getURLPath()) {
|
||||
$uri .= '/' . $a->getURLPath();
|
||||
}
|
||||
|
||||
$uri = urlencode($uri);
|
||||
|
@ -609,7 +609,7 @@ function dfrn_request_content(App $a)
|
|||
} elseif (x($_GET, 'address') && ($_GET['address'] != "")) {
|
||||
$myaddr = $_GET['address'];
|
||||
} elseif (local_user()) {
|
||||
if (strlen($a->getURLpath())) {
|
||||
if (strlen($a->getURLPath())) {
|
||||
$myaddr = System::baseUrl() . '/profile/' . $a->user['nickname'];
|
||||
} else {
|
||||
$myaddr = $a->user['nickname'] . '@' . substr(System::baseUrl(), strpos(System::baseUrl(), '://') + 3);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue