if (isset($_GET['lockenter']) || isset($_GET['nolockenter'])) { if (isset($_GET['lockenter'])) { touch('db/' . $tikidomainslash . 'lock'); } global $userlib, $cachelib; if (session_id()) { session_destroy(); } include_once 'tiki-setup.php'; $cachelib->empty_cache(); if ($install_type == 'scratch') { $u = 'tiki-change_password.php?user=admin&oldpass=admin'; } else { $u = ''; } $userlib->user_logout($user, false, $u); // logs out then redirects to home page or $u exit; } $smarty->assignByRef('tikifeedback', $tikifeedback); $smarty->assign('metatag_robots', 'NOINDEX, NOFOLLOW'); $email_test_tw = '*****@*****.**'; $smarty->assign('email_test_tw', $email_test_tw); // Sytem requirements test. if ($install_step == '2') { $smarty->assign('mail_test_performed', 'n'); if (isset($_REQUEST['perform_mail_test']) && $_REQUEST['perform_mail_test'] == 'y') { $email_test_to = $email_test_tw; $email_test_headers = ''; $email_test_ready = true; if (!empty($_REQUEST['email_test_to'])) {