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:
2014-07-04 18:27:49 +02:00
parent f723d7bd69
commit b9cbc947b5
8 changed files with 81 additions and 3 deletions

View File

@@ -78,7 +78,6 @@ $contactPage = new Page("Contact", "contact.html");
}
$dirContent = scandir(Page::$contentFolder);
$files = (array_filter($dirContent, "nodir"));
// Iterate through all the files for a match (from ?content=)