params.php 1.32 KB
<?php
return [
    'adminEmail' => 'admin@example.com',
    'menu'=>array(
        'index'=>array('管理首页','index/index'),
        'live'=>array(
            '直播管理',array(
                'room'=>array('直播间','live/room'),
                'master'=>array('主播','live/master'),
                'video'=>array('视频','live/video'),
            )
        ),
        'system'=>array(
            '系统管理',array(
                'servers'=>array('服务器列表','system/servers'),
                'serv-addr'=>array('弹幕服务地址','system/serv-addr'),
            )
        ),
        /*'demo'=>array(
            'Demo',array(
                'index'=>array('Dashboard','demo/index'),
                'generalforms'=>array('General Forms','demo/generalforms'),
                'buttons'=>array('Buttons','demo/buttons'),
                'list'=>array('列表','demo/list'),
            )
        ),*/
        'admin'=>array(
            '后台管理',array(
                'admin/list'=>array('用户','admin/list'),
                'admin/role'=>array('用户组','admin/role'),
                'admin/permission'=>array('权限','admin/permission'),
            )
        ),
	),
    /**
     * 分页每页数目
     */
    'defaultPageSize'=>10,
    //是否验证用户访问权限
    'verifyAccess' => false,
];