diff options
Diffstat (limited to 'Zotlabs/Module/Update.php')
-rw-r--r-- | Zotlabs/Module/Update.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Zotlabs/Module/Update.php b/Zotlabs/Module/Update.php index e7470363b..98137c4c2 100644 --- a/Zotlabs/Module/Update.php +++ b/Zotlabs/Module/Update.php @@ -8,6 +8,9 @@ class Update extends \Zotlabs\Web\Controller { $profile_uid = intval($_GET['p']); + if((! $profile_uid) && in_array(argv(1),['display','search','pubstream','home'])) + $profile_uid = (-1); + if(argc() < 2) { killme(); } @@ -24,6 +27,9 @@ class Update extends \Zotlabs\Web\Controller { header("Content-type: text/html"); + \App::$argv = [ argv(1) ]; + \App::$argc = 1; + echo "<!DOCTYPE html><html><body><section>\r\n"; echo $mod->get($profile_uid, $load); echo "</section></body></html>\r\n"; |