mirror of
https://github.com/friendica/friendica
synced 2024-12-22 22:40:16 +00:00
Support for the Diaspora App in Firefox.
This commit is contained in:
parent
738d7a221e
commit
4d574866b1
1 changed files with 5 additions and 1 deletions
|
@ -191,6 +191,10 @@ if(strlen($a->module)) {
|
|||
if ($a->module == "stream")
|
||||
$a->module = "network";
|
||||
|
||||
// Compatibility with the Firefox App
|
||||
if (($a->module == "users") AND ($a->cmd == "users/sign_in"))
|
||||
$a->module = "login";
|
||||
|
||||
$privateapps = get_config('config','private_addons');
|
||||
|
||||
if(is_array($a->plugins) && in_array($a->module,$a->plugins) && file_exists("addon/{$a->module}/{$a->module}.php")) {
|
||||
|
@ -461,7 +465,7 @@ if ($_GET["mode"] == "raw") {
|
|||
exit;
|
||||
|
||||
} elseif (get_pconfig(local_user(),'system','infinite_scroll')
|
||||
AND ($_GET["q"] == "network") AND ($_GET["mode"] != "minimal")) {
|
||||
AND ($a->module == "network") AND ($_GET["mode"] != "minimal")) {
|
||||
if (is_string($_GET["page"]))
|
||||
$pageno = $_GET["page"];
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue