correcting header creation

This commit is contained in:
seek3r 2001-01-02 08:47:58 +00:00
parent 49bc1cf1e4
commit 5f298ace4f

View File

@ -70,7 +70,13 @@
$fsetup = fopen("../header.inc.php","w");
fwrite($fsetup,$newheader);
fclose($fsetup);
echo "Created header.inc.php!<br>";
$phpgw_setup->show_header("Generated header.inc.php", False, "header");
echo "<form action=\"index.php\" method=post>";
echo "<br> Created header.inc.php!<br>";
echo "<input type=hidden name=\"FormLogout\" value=\"header\">";
echo "<input type=submit name=\"junk\" value=\"continue\">";
echo "</form>";
echo "</body></html>";
}else{
$phpgw_setup->show_header("Error generating header.inc.php", False, "header");
echo "Could not open header.inc.php for writing!<br>\n";