diff --git a/Views/Notes/createNote.phtml b/Views/Notes/createNote.phtml index 537c136..9df15fb 100644 --- a/Views/Notes/createNote.phtml +++ b/Views/Notes/createNote.phtml @@ -2,15 +2,15 @@ use ppa\Model\NotesModel; include dirname(__DIR__).'/header.phtml'; -// Test write permissions -// This is the directory we will upload files to. -$uploadDir = $_SERVER['DOCUMENT_ROOT'] . '/EIANotesApp/Uploads/'; -if (!file_exists($uploadDir)) { - mkdir($uploadDir, 0777, true); -} -$testFile = $uploadDir . 'test_write.txt'; -$testContent = 'Test write operation at ' . date('Y-m-d H:i:s'); -$writeResult = file_put_contents($testFile, $testContent); +//// Test write permissions +//// This is the directory we will upload files to. +//$uploadDir = $_SERVER['DOCUMENT_ROOT'] . '/EIANotesApp/Uploads/'; +//if (!file_exists($uploadDir)) { +// mkdir($uploadDir, 0777, true); +//} +//$testFile = $uploadDir . 'test_write.txt'; +//$testContent = 'Test write operation at ' . date('Y-m-d H:i:s'); +//$writeResult = file_put_contents($testFile, $testContent); $parsedown = new Parsedown(); $parsedown->setSafeMode(true);