ccdream
ccdream
权限的规则是和menu表关联,每个后台栏目就是一个节点。在后台“授权”中,可以给一个用户组选择有哪些权限。
是的,全站打包中包含vendor。
- 复制一个应用(例如frontend文件夹为frontend1),修改其config.php的id属性、config-local.php的cookieValidationKey属性。assets文件夹下的内容可要可不要。 - 将common\config\bootstrap.php,按照注释添加对应别名。 - 然后将frontend1.yii2.cn解析到/path/frontend1/web目录,修改hosts。
已发 @haytoo1
已发 @php9527
模板已发,你这个错误应该是没有安装yii。参考http://www.yiichina.com/doc/guide/2.0/start-installation
然后安装composer,下载源码yii2admin,cd到yii2admin目录下,执行composer install即可安装依赖扩展