</tbody> </table> <?php if (!isset($error)) { ?> <a href="?step=2<?php echo H::csrf("g"); ?> " class="button">Proceed To Installation</a> <?php } else { echo "<p>Cannot Procced to Installation. Please make the requirements satisfied.</p>"; } } elseif ($_GET['step'] == 3) { echo "<h2>Safety</h2>"; $safe = \Lobby\Install::safe(); if ($safe == "configFile") { ser("Permission Error", "The <b>config.php</b> file still has write permission. Change the permission to Read Only."); } if ($safe !== true) { echo "<a class='button' href='javascript:;' onclick='window.location = window.location;'>Check Again</a>"; } else { \Lobby::redirect("/#"); } } elseif ($_GET['step'] == 2 && H::csrf()) { /** * We call it again, so that the user had already went through the First Step */ if (\Lobby\Install::step1() === false) { // The stuff mentioned in step 1 hasn't been done } elseif (isset($_POST['submit'])) {