16 lines
478 B
PHP
16 lines
478 B
PHP
|
<?php
|
||
|
// comment out the following two lines when deployed to production
|
||
|
|
||
|
$cofings=file_get_contents(('/www/wwwroot/bkycms.com/data/config.php'));
|
||
|
|
||
|
error_reporting(E_ERROR | E_PARSE);
|
||
|
defined('YII_DEBUG') or define('YII_DEBUG', false);
|
||
|
defined('YII_ENV') or define('YII_ENV', 'dev');
|
||
|
require __DIR__ . '/../vendor/autoload.php';
|
||
|
require __DIR__ . '/../vendor/yiisoft/yii2/Yii.php';
|
||
|
$config = require __DIR__ . '/../config/web.php';
|
||
|
|
||
|
|
||
|
(new yii\web\Application($config))->run();
|
||
|
|