Watch 1 Star 0 Fork 0

xiaomalover / yii2-cmsPHP

Sign up for free
Explore and code with more than 2 million developers,Free private repositories !:)
Sign up
yii2,cms,enterprise,yii,adminlte,rbac,upload spread retract

http://mym.pub

Clone or download
index.php 715 Bytes
Copy Edit Web IDE Raw Blame History
xiaomalover authored 2018-03-01 11:50 . update
<?php
// comment out the following two lines when deployed to production
defined('YII_DEBUG') or define('YII_DEBUG', false);
defined('YII_ENV') or define('YII_ENV', 'dev');
require(__DIR__ . '/protected/vendor/autoload.php');
require(__DIR__ . '/protected/vendor/yiisoft/yii2/Yii.php');
//Dynamic config file is created by application.
$dynamic_config = __DIR__ . '/protected/core/config/dynamic.php';
$config = yii\helpers\ArrayHelper::merge(
require(__DIR__ . '/protected/core/config/common.php'),
require(__DIR__ . '/protected/core/config/web.php'),
(is_readable($dynamic_config)) ? require($dynamic_config) : []
);
$application = new core\components\Application($config);
$application->run();

Comment ( 0 )

You need to Sign in for post a comment

PHP
1
https://gitee.com/xiaomalover/yii2-cms.git
git@gitee.com:xiaomalover/yii2-cms.git

Help Search