dwz yii 的整合

来源:互联网 发布:java静态常量存储 编辑:程序博客网 时间:2024/06/14 00:40

将dwz文件夹放入 ext扩展中,,再在 mian.php 中 的modules增加一行    'generatorPaths'=>array('ext.dwz.gii'),// 可增加新的地址



'modules'=>array(
        // uncomment the following to enable the Gii tool
        
        'gii'=>array(
            'class'=>'system.gii.GiiModule',
                        'generatorPaths'=>array('ext.dwz.gii'),
            'password'=>'123',
             // If removed, Gii defaults to localhost only. Edit carefully to taste.
            'ipFilters'=>array('127.0.0.1','::1'),
        ),
        
    ),

原创粉丝点击