top-think / thinkphp

ThinkPHP3.2 ——基于PHP5的简单快速的面向对象的PHP框架
http://www.thinkphp.cn
2.9k stars 1.51k forks source link

common下的配置文件, 'MODULE_DENY_LIST' => array('Common','Runtime','Api','Admin'), #515

Open yangjingjingjing opened 6 years ago

yangjingjingjing commented 6 years ago

但是在本地访问的时候还是能访问,好像这个配置文件没有生效一样。为什么

yangjingjingjing commented 6 years ago

http://localhost/5/index.php/Admin/Index/index 还是能访问成功

Amberbaifeng commented 6 years ago

谁?发错了吧 amber.feng 邮箱:amber.feng@aliyun.com 签名由 网易邮箱大师 定制 在2018年01月01日 21:06,yangjingjingjing 写道: http://localhost/5/index.php/Admin/Index/index 还是能访问成功 — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

majiajia commented 6 years ago

module_deny_list used on /ThinkPHP/Library/Think/Dispatcher.class.php 400 line ,if URL_MODULE_MAP is null,it wiil not exec