mirror of https://gitee.com/karson/fastadmin.git
modify:application/common/libraryAuth.php
bugfix:figure out the match method cant not resolve $arr to lowerpull/50/head
parent
8e5b42f88c
commit
4b4a660ba9
|
|
@ -539,6 +539,10 @@ class Auth
|
|||
{
|
||||
return FALSE;
|
||||
}
|
||||
//对不需要登录的数组进行小写转换
|
||||
foreach ($arr as $k => &$v) {
|
||||
$v = strtolower($v);
|
||||
}
|
||||
// 是否存在
|
||||
if (in_array(strtolower($request->action()), $arr) || in_array('*', $arr))
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue