setStep('selectModelFiles'); if (isset($_POST['save'])) { if (!$task) { header("Location: " . SITE_ROOT . '/wizard/init'); } // Store the model file path information $task->modelFilePaths[0] = $_POST['txtModelFilePath']; // Go to the next step $task->nextStep('selectModelFiles'); } ?>