header sent fix, make it a link instead

This commit is contained in:
color.diff=auto 2021-03-24 09:57:02 -06:00
parent 2e54b4984b
commit f6c96d8989

View File

@ -41,15 +41,19 @@ foreach ($data as $k => $v) {
$db->createTables($files->getFile($k), $v); $db->createTables($files->getFile($k), $v);
$db->fillsTables($files->getFile($k), $v); $db->fillsTables($files->getFile($k), $v);
} }
sleep(2);
?> ?>
<div class="container container-top"> <!doctype html>
<h1><img src="/img/Diablo2.png" style="float:left">Files Processed</h1> <html lang="en">
<a class="btn btn-outline-danger" style="color:red; font-size: 18px;float:right;" href="/">X</a> <?php
<hr style="margin: 60px;"> /* Require the <head> section */
require_once "head.php";
?>
<div class="container container-top">
<h1><img src="/img/Diablo2.png" style="float:left">Files Processed</h1>
<a class="btn btn-outline-danger" style="color:red; font-size: 18px;float:right;" href="/">X</a>
<hr style="margin: 60px;">
<h1>Loading app...</h1> <h1><a href="/"> Click here to go to the main application.</a></h1>
</div> </div>
<?php </body>
sleep(2); </html>
header('Location: /');