diff options
Diffstat (limited to 'mod/search.php')
-rw-r--r-- | mod/search.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/mod/search.php b/mod/search.php index 23b2ddb7e..793a8c2bb 100644 --- a/mod/search.php +++ b/mod/search.php @@ -9,6 +9,10 @@ function search_post(&$a) { function search_content(&$a) { + require_once("include/bbcode.php"); + require_once('include/security.php'); + require_once('include/conversation.php'); + if(x($_SESSION,'theme')) unset($_SESSION['theme']); @@ -26,8 +30,6 @@ function search_content(&$a) { if(! $search) return $o; - require_once("include/bbcode.php"); - require_once('include/security.php'); $sql_extra = " AND `item`.`allow_cid` = '' @@ -81,7 +83,6 @@ function search_content(&$a) { ); - require_once('include/conversation.php'); $o .= conversation($a,$r,'search',false); |