diff options
Diffstat (limited to 'public/update/index.php')
| -rw-r--r-- | public/update/index.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/public/update/index.php b/public/update/index.php index d194dbd..1bccfa4 100644 --- a/public/update/index.php +++ b/public/update/index.php @@ -3,6 +3,7 @@ declare(strict_types=1); use DTS\BookmarkRepository; +use DTS\Old; use DTS\Session; use DTS\Validator; @@ -29,6 +30,10 @@ if ($bookmark === null) { respondAndExit(404, 'Not Found'); } +$old = new Old($_REQUEST); + +$session->set('old', $old); + $validator = new Validator($_REQUEST); if ($validator->errors->count()) { |
