1 Star 0 Fork 0

azniu / cms

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
install.php 1.38 KB
一键复制 编辑 原始数据 按行查看 历史
laughstorm 提交于 2017-10-07 11:30 . 初始化
<?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', 'prod');
require (__DIR__ . '/vendor/autoload.php');
require (__DIR__ . '/vendor/yiisoft/yii2/Yii.php');
require (__DIR__ . '/core/HassClassLoader.php');
require (__DIR__ . '/app/config/bootstrap.php');
$config = yii\helpers\ArrayHelper::merge(require (__DIR__ . '/app/config/main.php'), require (__DIR__ . '/app/config/main-local.php'), [
'id' => "hassium-install",
"defaultRoute" => "/install/default/index",
"modules" => [
"install" => [
'class' => "\\hass\\install\\Module"
],
"user" => [
'class' => "\\hass\\user\\Module"
]
],
"components" => [
'user' => [
'identityClass' => 'hass\user\models\User'
],
"cache" => [
"class" => "\\yii\\caching\\FileCache"
],
"i18n" => [
"translations" => [
"user*" => [
'class' => "\\yii\\i18n\\PhpMessageSource",
'basePath' => '@dektrium/user/messages'
]
]
]
],
'params' => array_merge(require (__DIR__ . '/app/config/params.php'), require (__DIR__ . '/app/config/params-local.php'))
]);
$application = new yii\web\Application($config);
$application->run();
PHP
1
https://gitee.com/azniu/cms.git
git@gitee.com:azniu/cms.git
azniu
cms
cms
master

搜索帮助