Navigation

Search

db_search_init

Description

Adds the functions from the "DbSearch" file to the $smcFunc array if they aren't already there. Specifically, it adds db_search_query, db_search_support, db_create_word_search. Also adds db_support_ignore, which is a variable indicating whether or not the

Syntax

void db_search_init ()


Notes

  • Sets $smcFunc['db_search_query'] to smf_db_query (no special replacements needed in MySQL)
  • Loads the other two functions in the "DbSearch" file into $smcFunc
  • Sets $smcFunc['db_support_ignore'] to true since MySQL supports IGNORE
View all versions of this function