Skip to content

Commit 7388b2c

Browse files
ValeriyShnurovoyValeriy Shnurovoy
and
Valeriy Shnurovoy
authored
HP-666 Add check adction (#221)
* HP-666 Add check adction * HP-666 Added testendpoint * HP-666 Fix after review * HP-666 Fix include testendpoint Co-authored-by: Valeriy Shnurovoy <[email protected]>
1 parent b72c566 commit 7388b2c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

public/index.php

+4
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,12 @@
1010

1111
use Yiisoft\Composer\Config\Builder;
1212
use yii\web\Application;
13+
use hidev\webapp\components\TestEndpoints;
1314

1415
(static function () {
16+
require_once(dirname(__DIR__, 2) . '/hidev-webapp/src/components/TestEndpoints.php');
17+
TestEndpoints::try();
18+
1519
require __DIR__ . '/../config/bootstrap.php';
1620

1721
$host = $_SERVER['HTTP_HOST'];

0 commit comments

Comments
 (0)