Skip to content

fuel/app/views/tutorial/tutorial-handler.php

```php linenums="1"

where('step_id', Hacker::get('tutorial_step'))->from('tutorial_step')->execute()->as_array()[0]; eval("function check_tutorial_completion() { " . $step['completion_conditions'] . " }"); if(check_tutorial_completion()) { Hacker::save(array('tutorial_step' => Hacker::get('tutorial_step') + 1)); Messages::modal('tutorial'); Response::redirect(Uri::current()); } ?> 'modal-tutorial', 'title' => $step['title'], 'content' => $step['story'], 'eval' => true )); ?>

```