Skip to content

Commit

Permalink
No need for using eval
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianheine committed Feb 16, 2012
1 parent 384d380 commit 2534fed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion engine.php
Expand Up @@ -2009,5 +2009,6 @@ function wrap_seatbelt_config () {
// Run in the determined runmode
debug("Run mode: $run_mode at: " . time());
debug($_REQUEST, 'Request params');
eval($run_mode . '_mode();');
$run_mode .= '_mode';
$run_mode();
?>

0 comments on commit 2534fed

Please sign in to comment.