diff --git a/controllers/ViewPhoto.php b/controllers/ViewPhoto.php index 81b909a7..e6a8c390 100644 --- a/controllers/ViewPhoto.php +++ b/controllers/ViewPhoto.php @@ -19,6 +19,8 @@ class ViewPhoto extends HTMLController if (empty($photo)) throw new NotFoundException(); + Session::resetSessionToken(); + parent::__construct($photo->getTitle() . ' - ' . SITE_TITLE); if (!empty($_POST))