Advertisement:

Author Topic: SMF 2.0.x missing global $smcFunc SearchAPI-Fulltext.php  (Read 1290 times)

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 19,350
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
SMF 2.0.x missing global $smcFunc SearchAPI-Fulltext.php
« on: June 24, 2017, 07:08:53 PM »
SMF 2.0.x missing global $smcFunc

Open Sources/SearchAPI-Fulltext.php
find
Code: [Select]
// Do we have to do some work with the words we are searching for to prepare them?
public function prepareIndexes($word, &$wordsSearch, &$wordsExclude, $isExcluded)
{
global $modSettings;
Change to
Code: [Select]
// Do we have to do some work with the words we are searching for to prepare them?
public function prepareIndexes($word, &$wordsSearch, &$wordsExclude, $isExcluded)
{
global $modSettings, $smcFunc;
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro