Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

新建立应用主体怎么建立 #9

Open
lixinxiaobai opened this issue Sep 4, 2017 · 1 comment
Open

新建立应用主体怎么建立 #9

lixinxiaobai opened this issue Sep 4, 2017 · 1 comment

Comments

@lixinxiaobai
Copy link

建立和backend同级文件夹配置好之后报404错误
网上搜索有 还得配置 这个environments/index.php
但是这个项目中是没有这个文件的

@e282486518
Copy link
Owner

  • 复制一个应用(例如frontend文件夹为frontend1),修改其config.php的id属性、config-local.php的cookieValidationKey属性。assets文件夹下的内容可要可不要。
  • 将common\config\bootstrap.php,按照注释添加对应别名。
  • 然后将frontend1.yii2.cn解析到/path/frontend1/web目录,修改hosts。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants