From: Evan Prodromou Date: Sat, 17 May 2008 19:10:34 +0000 (-0400) Subject: require stream stuff X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d748318f7f0a421e6947903b0b9504aabd4d6a17;p=quix0rs-gnu-social.git require stream stuff darcs-hash:20080517191034-84dde-eebc08698104692bd67e00b9feffb0dd19f5c2b9.gz --- 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);