1234567891011 |
- <?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 dirname(__DIR__) . '/api/vendor/autoload.php';
- require dirname(__DIR__) . '/api/vendor/yiisoft/yii2/Yii.php';
- $config = require dirname(__DIR__) . '/api/config/web.php';
- (new yii\web\Application($config));
|