$eval = sprintf("%s<%%php %s %%>%s", $evalLeft, $evalMiddle, $evalRight);
} // END - while
- // Get length for check if PHP code was found
- $evalLength = strlen($eval);
-
// Prepare PHP code for eval() command
$eval = str_replace(
"<%php", "\";",
)
);
- // Was PHP code found in template?
- if (strlen($eval) != $evalLength) {
- // Run the constructed command. This will "compile" all variables in
- @eval($eval);
- //* DEBUG: */ print("<pre>".htmlentities($eval)."</pre>");
- } // END - if
+ // Run the constructed command. This will "compile" all variables in
+ @eval($eval);
// Goes something wrong?
if (!isset($result)) {