thinkphp隐藏模块实例
1.项目中若要隐藏模块的做法
2.配置如下:
<?php return array( //'配置项'=>'配置值' 'MODULE_ALLOW_LIST' => array ('Home'), 'DEFAULT_MODULE' => 'Home', );
起点在哪,或许选择不了。重要的是,你追求的终点在哪!
1.项目中若要隐藏模块的做法
2.配置如下:
<?php return array( //'配置项'=>'配置值' 'MODULE_ALLOW_LIST' => array ('Home'), 'DEFAULT_MODULE' => 'Home', );