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->fillsTables($files->getFile($k), $v);
}
sleep(2);
?>
<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;">
<!doctype html>
<html lang="en">
<?php
/* 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>
</div>
<?php
sleep(2);
header('Location: /');
<h1><a href="/"> Click here to go to the main application.</a></h1>
</div>
</body>
</html>