public function ModuleInitHook()
    {
        parent::ModuleInitHook();
        $oShop = TdbShop::GetInstance();
        if ($oShop->fieldRedirectToNotFoundPageProductSearchOnNoResults) {
            // in this case the shop may redirect after running the search. since this occurs in the Execute of the module, we need
            // to prevent any other output from being auto-sent to the browser
            TGlobal::GetController()->SetBlockAutoFlushToBrowser(true);
        }
    }