thinkphp隐藏模块实例

1.项目中若要隐藏模块的做法

2.配置如下:

<?php
return array(
    //'配置项'=>'配置值'
    'MODULE_ALLOW_LIST' => array ('Home'),
        'DEFAULT_MODULE' => 'Home',
);

 

posted @ 2017-06-07 18:09  侠岚之弋痕夕  阅读(284)  评论(0编辑  收藏  举报
Where is the starting point, we don't have a choice, but the destination where we can pursue!