diff options
Diffstat (limited to 'public/store/index.php')
| -rw-r--r-- | public/store/index.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/public/store/index.php b/public/store/index.php index 5279e69..8bd0b7f 100644 --- a/public/store/index.php +++ b/public/store/index.php @@ -4,6 +4,7 @@ declare(strict_types=1); use DTS\Bookmark; use DTS\BookmarkRepository; +use DTS\Old; use DTS\Session; use DTS\Validator; @@ -20,6 +21,10 @@ if (filter_input(INPUT_SERVER, 'REQUEST_METHOD') !== 'POST') { respondAndExit(405, 'Method Not Allowed'); } +$old = new Old($_REQUEST); + +$session->set('old', $old); + $validator = new Validator($_REQUEST); if ($validator->errors->count()) { |
