/projects/edit-project-do.php |
---|
2,10 → 2,10 |
require '../_taios.php'; |
$page = new Taios_Page('Edit Project', '../'); |
$page->checkCSRFToken($page->getLoggedInUser()->ID, $_POST['csrftoken']); |
$page = new Taios_Page('Edit Project', '../'); |
$project = $page->getProject($page->getPostID()); |
if (!$project) |
{ |
/projects/add-project-do.php |
---|
2,10 → 2,10 |
require '../_taios.php'; |
$page = new Taios_Page('Add Project', '../'); |
$page->checkCSRFToken($page->getLoggedInUser()->ID, $_POST['csrftoken']); |
$page = new Taios_Page('Add Project', '../'); |
$title = $_POST['title']; |
$description = $_POST['description']; |
$logoURL = $_POST['logourl']; |