Reworked 'nodir'-function a bit and included it in the Page-class instead. Started working on a way to edit content files

This commit is contained in:
jackbenny committed 2014-07-04 18:27:49 +02:00
1 parent f723d7bd69
commit b9cbc947b5
8 files changed
+81 -3

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
<?php
if (!isset($_POST['post']))
{
end_html();
die;
}
if (fwrite($filehandle, $_POST['post']) === FALSE)
{
echo "Cannot write to file ($file)";
exit;
}
echo "Success, saved file ($file)";
fclose($filehandle);
?>