if (!file_exists($dir))
{
mkdir ($dir,0777);
- $index_file = "<?php\nheader(\"Location: ../index.php\");\n?>";
+ $index_file = "<?php\nheader(\"Location: ../index.php\");\n";
$fp = fopen($dir."/index.php", "w");
fwrite($fp, $index_file);
fclose($fp);
end_page();
-?>