mirror of
https://github.com/gmemstr/notdonemywebsite.git
synced 2024-09-19 21:51:10 +01:00
Removed a line that spat out an error
This commit is contained in:
parent
2af6f908ce
commit
1721d78d2f
4
make.php
4
make.php
|
@ -6,7 +6,7 @@
|
||||||
$scolour = $_POST['scolour'];
|
$scolour = $_POST['scolour'];
|
||||||
|
|
||||||
$template = fopen("template/template.html", "r+"); // Change this if you have a custom template filename
|
$template = fopen("template/template.html", "r+"); // Change this if you have a custom template filename
|
||||||
$tempContents = fread($template, filesize("template/template.html")); //Read frin tge file
|
$tempContents = fread($template, filesize("template/template.html"));
|
||||||
|
|
||||||
// Keywords for replacement - see README
|
// Keywords for replacement - see README
|
||||||
$keywords = array("rep_PCOLOUR", "rep_SCOLOUR", "rep_SNAME", "rep_URL", "rep_DEVNAME");
|
$keywords = array("rep_PCOLOUR", "rep_SCOLOUR", "rep_SNAME", "rep_URL", "rep_DEVNAME");
|
||||||
|
@ -37,6 +37,6 @@
|
||||||
|
|
||||||
header('Content-Type: text/plain');
|
header('Content-Type: text/plain');
|
||||||
header('Content-Disposition: attachment; filename=index.html');
|
header('Content-Disposition: attachment; filename=index.html');
|
||||||
readfile("index.html"); // Make the client download the file as a .html :)
|
// Make the client download the file as a .html :)
|
||||||
|
|
||||||
?>
|
?>
|
Loading…
Reference in a new issue