diff --git a/actions/all.php b/actions/all.php index 4522329290..f74b3ff9c0 100644 --- a/actions/all.php +++ b/actions/all.php @@ -19,6 +19,8 @@ if (!defined('LACONICA')) { exit(1); } +require_once(INSTALLDIR.'/actions/showstream.php'); + class AllAction extends ShowstreamAction { // XXX: push this up to a common function. diff --git a/actions/public.php b/actions/public.php index c8e6e36cfa..5b1e50fa3f 100644 --- a/actions/public.php +++ b/actions/public.php @@ -19,6 +19,8 @@ if (!defined('LACONICA')) { exit(1); } +require_once(INSTALLDIR.'/lib/stream.php'); + class PublicAction extends StreamAction { function handle($args) { diff --git a/actions/showstream.php b/actions/showstream.php index 1f9fb935d4..004f238df5 100644 --- a/actions/showstream.php +++ b/actions/showstream.php @@ -19,6 +19,8 @@ if (!defined('LACONICA')) { exit(1); } +require_once(INSTALLDIR.'/lib/stream.php'); + define('SUBSCRIPTIONS_PER_ROW', 5); define('SUBSCRIPTIONS', 80);