getModel('invenio'); // Since the validator has a login form, there is no need to require that the user is logged in before redirecting. $redirect = base64_encode($invenio -> createValidatorRedirectUrl()); JLog :: getInstance() -> addEntry(array('level' => 'info', 'comment' => 'Redirecting to (decoded): "' . base64_decode($redirect) . '"')); $app->redirect(JRoute :: _('index.php?option=' . JRequest :: getVar('option') . '&view=redirect&redirect=' . $redirect)); } } ?>