authenticate("write"); if (!$gallery->checkAuthenticatedUser()) { $gallery->error("You do not have permission to replace photos"); } ?>
Photo