escape($string, $htmlOK); } function bqSQL($string) { return str_replace('`', '\`', pSQL($string)); } function displayFatalError() { $error = error_get_last(); if ($error !== null && in_array($error['type'], array(E_ERROR, E_PARSE, E_COMPILE_ERROR))) { echo '[PrestaShop] Fatal error in module file: '.$error['file'].':'.$error['line'].'
'.$error['message']; } }