add AppModelRequest dependency

This commit is contained in:
ghost 2023-09-26 22:40:31 +03:00
parent 451df36fc2
commit 00c39f49c1

View File

@ -111,6 +111,7 @@ if (isset($request['_route_']))
require_once __DIR__ . '/../app/model/locale.php'; require_once __DIR__ . '/../app/model/locale.php';
require_once __DIR__ . '/../app/model/website.php'; require_once __DIR__ . '/../app/model/website.php';
require_once __DIR__ . '/../app/model/session.php'; require_once __DIR__ . '/../app/model/session.php';
require_once __DIR__ . '/../app/model/request.php';
require_once __DIR__ . '/../app/controller/page.php'; require_once __DIR__ . '/../app/controller/page.php';
@ -129,6 +130,11 @@ if (isset($request['_route_']))
), ),
new AppModelSession( new AppModelSession(
$_SERVER['REMOTE_ADDR'] $_SERVER['REMOTE_ADDR']
),
new AppModelRequest(
$_GET,
$_POST,
$_FILES
) )
); );