Skip to content
Snippets Groups Projects
Commit 7b77275d authored by Bob Mottram's avatar Bob Mottram
Browse files

Link to diagnostics

parent 0ac52a40
No related branches found
No related tags found
No related merge requests found
......@@ -44,12 +44,11 @@
border: none;
outline: 0;
display: inline-block;
padding: 8px;
color: white;
background-color: #000;
padding: 4px;
color: black;
background-color: lightblue;
text-align: center;
cursor: pointer;
width: 100%;
font-size: 18px;
}
......@@ -121,7 +120,7 @@
<br><br>
<form action="installappfailed.php" method="post">
<input type="submit" name="submitinstallappfailed" translate="yes" value="Diagnostics" />
<a href="applog.txt"><button type="button" translate="yes">Diagnostics</button></a>
<input type="submit" name="submitinstallappfailedcontinue" translate="yes" value="Continue" />
</form>
......
......@@ -60,14 +60,6 @@ if (isset($_POST['submitinstallappfailedcontinue'])) {
$output_filename = "index.html";
}
if (isset($_POST['submitinstallappfailed'])) {
if(file_exists('index_app_installing.html')) {
exec('cp index_app_installing.html index.html');
}
$output_filename = "applog.txt";
}
$htmlfile = fopen("$output_filename", "r") or die("Unable to open $output_filename");
echo fread($htmlfile,filesize("$output_filename"));
fclose($htmlfile);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment