Skip to content

Commit

Permalink
Correction: reintroduced extract() to ignition.php.
Browse files Browse the repository at this point in the history
  • Loading branch information
trongate committed Apr 26, 2023
1 parent 646104d commit 2dd6f23
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions engine/ignition.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ function load($template_file, $data=null) {
}

if (file_exists($file_path)) {
extract($data);
require_once($file_path);
} else {
die('<br><b>ERROR:</b> View file does not exist at: '.$file_path);
Expand Down

0 comments on commit 2dd6f23

Please sign in to comment.