X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Ffunctions.php;h=ea7a4297b03927ff325b6421940c3a9febd05982;hb=1a00ba8958d8b6f0cb689690e955eb63fc75ffa8;hp=10b4d02d329c05dc548ad0e5d24520cf9cafd306;hpb=49248176a5638be80b148ef55d0dc8c334522bf3;p=mailer.git diff --git a/inc/functions.php b/inc/functions.php index 10b4d02d32..ea7a4297b0 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -120,6 +120,9 @@ function OUTPUT_HTML ($HTML, $newLine = true) { // Compile and run finished rendered HTML code while (strpos($OUTPUT, '{!') > 0) { + // Replace _MYSQL_PREFIX + $OUTPUT = str_replace("{!_MYSQL_PREFIX!}", getConfig('_MYSQL_PREFIX'), $OUTPUT); + // Prepare the content and eval() it... $newContent = ''; $eval = "\$newContent = \"".COMPILE_CODE(smartAddSlashes($OUTPUT))."\";"; @@ -128,7 +131,7 @@ function OUTPUT_HTML ($HTML, $newLine = true) { // Was that eval okay? if (empty($newContent)) { // Something went wrong! - app_die(__FUNCTION__, __LINE__, "Evaluation error:
".htmlentities($eval)."
"); + app_die(__FUNCTION__, __LINE__, 'Evaluation error:
' . htmlentities($eval) . '
'); } // END - if $OUTPUT = $newContent; } // END - while