12345678 |
- <?php /** Created by Anton on 31.01.2020. */
- defined('YII_DEBUG') or define('YII_DEBUG', true);
- defined('YII_ENV') or define('YII_ENV', 'prod');
- require_once dirname(__DIR__) . '/api/vendor/autoload.php';
- require_once dirname(__DIR__) . '/api/vendor/yiisoft/yii2/Yii.php';
- $config = include dirname(__DIR__) . '/api/config/web.php';
- (new yii\web\Application($config));
|