mirror of
https://github.com/gmemstr/notdonemywebsite.git
synced 2024-09-19 21:51:10 +01:00
Fixed headers
This commit is contained in:
parent
f620471484
commit
d7acde2825
6
make.php
6
make.php
|
@ -1,4 +1,8 @@
|
|||
<?php
|
||||
|
||||
header('Content-Type: text/plain');
|
||||
header('Content-Disposition: attachment; filename=index.html');
|
||||
|
||||
$sname = $_POST['sname'];
|
||||
$surl = $_POST['surl'];
|
||||
$devname = $_POST['devname'];
|
||||
|
@ -45,8 +49,6 @@
|
|||
*
|
||||
*/
|
||||
|
||||
header('Content-Type: text/plain');
|
||||
header('Content-Disposition: attachment; filename=index.html');
|
||||
// Make the client download the file as a .html :)
|
||||
|
||||
?>
|
Loading…
Reference in a new issue