mirror of
https://github.com/friendica/friendica
synced 2025-04-23 19:10:13 +00:00
App::get_baseurl is now replaced with System::baseUrl
This commit is contained in:
parent
3c24bed412
commit
5adfeb0bd5
134 changed files with 603 additions and 624 deletions
|
@ -151,7 +151,7 @@ class FKOAuth1 extends OAuthServer {
|
|||
$_SESSION['mobile-theme'] = get_pconfig($record['uid'], 'system', 'mobile_theme');
|
||||
$_SESSION['authenticated'] = 1;
|
||||
$_SESSION['page_flags'] = $record['page-flags'];
|
||||
$_SESSION['my_url'] = App::get_baseurl() . '/profile/' . $record['nickname'];
|
||||
$_SESSION['my_url'] = System::baseUrl() . '/profile/' . $record['nickname'];
|
||||
$_SESSION['addr'] = $_SERVER['REMOTE_ADDR'];
|
||||
$_SESSION["allow_api"] = true;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue