Home > php教程 > php手册 > 系统级问题

系统级问题

WBOY
Release: 2016-06-07 11:44:22
Original
1278 people have browsed it

独立分组还是有很多问题的,这个就是访问异常

采用独立分组布局,rewrite路由static private function getGroup($var)函数并没有过滤不在独立分组

而在123行$var[C('VAR_GROUP')] = in_array(strtolower($paths[0]),explode(',',strtolower(C('APP_GROUP_LIST'))))? array_shift($paths) : '';却做了过滤

这样导致可以直接通过url参数访问 却不能够rewrite模式访问

AD:真正免费,域名+虚机+企业邮箱=0元

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template