portal.mkgtu.ru/backend/web/index.php

25 lines
573 B
PHP
Raw Normal View History

2024-03-28 09:51:45 +03:00
<?php
require(__DIR__ . '/../../vendor/autoload.php');
require(__DIR__ . '/../../common/env.php');
require(__DIR__ . '/../../vendor/yiisoft/yii2/Yii.php');
require(__DIR__ . '/../../common/config/bootstrap.php');
require(__DIR__ . '/../config/bootstrap.php');
$config = \yii\helpers\ArrayHelper::merge(
require(__DIR__ . '/../../common/config/base.php'),
require(__DIR__ . '/../../common/config/web.php'),
require(__DIR__ . '/../config/base.php'),
require(__DIR__ . '/../config/web.php')
);
$app = (new yii\web\Application($config));
$app->run();