X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fpublic.php;h=0ceeef98e8c1cf4f5e5e5a25f46d8733ad1cfd7a;hb=6edbf3ca781d20f2ec98daf32080c60e804d8215;hp=e00f8efbaf27870016825d8fd6ba39886db4ba47;hpb=0093b035c12bf21c88f57e4f0931b0abce214f43;p=quix0rs-gnu-social.git diff --git a/actions/public.php b/actions/public.php index e00f8efbaf..0ceeef98e8 100644 --- a/actions/public.php +++ b/actions/public.php @@ -31,6 +31,10 @@ if (!defined('LACONICA')) { exit(1); } +require_once INSTALLDIR.'/lib/publicgroupnav.php'; +require_once INSTALLDIR.'/lib/noticelist.php'; +require_once INSTALLDIR.'/lib/feedlist.php'; + /** * Action for displaying the public stream * @@ -161,11 +165,11 @@ class PublicAction extends Action NOTICES_PER_PAGE + 1); if (!$notice) { - $this->server_error(_('Could not retrieve public stream.')); + $this->serverError(_('Could not retrieve public stream.')); return; } - $nl = new NoticeList($notice); + $nl = new NoticeList($notice, $this); $cnt = $nl->show();