From 00c39f49c15e5f0a5128a022d7e8ead0a0f85f56 Mon Sep 17 00:00:00 2001 From: ghost Date: Tue, 26 Sep 2023 22:40:31 +0300 Subject: [PATCH] add AppModelRequest dependency --- src/config/bootstrap.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/config/bootstrap.php b/src/config/bootstrap.php index daa8dc3..7b41fd6 100644 --- a/src/config/bootstrap.php +++ b/src/config/bootstrap.php @@ -111,6 +111,7 @@ if (isset($request['_route_'])) require_once __DIR__ . '/../app/model/locale.php'; require_once __DIR__ . '/../app/model/website.php'; require_once __DIR__ . '/../app/model/session.php'; + require_once __DIR__ . '/../app/model/request.php'; require_once __DIR__ . '/../app/controller/page.php'; @@ -129,6 +130,11 @@ if (isset($request['_route_'])) ), new AppModelSession( $_SERVER['REMOTE_ADDR'] + ), + new AppModelRequest( + $_GET, + $_POST, + $_FILES ) );