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 {