From: Evan Prodromou Date: Wed, 9 Jul 2008 23:12:17 +0000 (-0400) Subject: require search action lib in search actions X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9d3b7e3d7a89808133fc7aced4c63c578276af77;p=quix0rs-gnu-social.git require search action lib in search actions darcs-hash:20080709231217-84dde-2df00042fd1a0c571f232ad0815b191af043c5a0.gz --- diff --git a/actions/noticesearch.php b/actions/noticesearch.php index 870a195e07..721c843eed 100644 --- a/actions/noticesearch.php +++ b/actions/noticesearch.php @@ -19,6 +19,7 @@ if (!defined('LACONICA')) { exit(1); } +require_once(INSTALLDIR.'/lib/searchaction.php'); define(NOTICES_PER_PAGE, 20); # XXX common parent for people and content search? diff --git a/actions/peoplesearch.php b/actions/peoplesearch.php index 30d737b285..fce0cae8c8 100644 --- a/actions/peoplesearch.php +++ b/actions/peoplesearch.php @@ -19,6 +19,7 @@ if (!defined('LACONICA')) { exit(1); } +require_once(INSTALLDIR.'/lib/searchaction.php'); define(PROFILES_PER_PAGE, 10); class PeoplesearchAction extends SearchAction {