What I wrote in the video of Thinkphp3.1.3 was not implemented! Ask God for help
What I wrote in the video of Thinkphp3.1.3 was not implemented! Ask God for help
The Rbac encapsulation class is placed in OrgUtilRbac.class.php
Please refer to:
http://www.tuicool.com/articl...
In the configuration file, such as Application/Common/Config/config.php or Application/Admin/Config/config.php under the module
. Create a public controller, such as CommomController.class.php, which has a constructor Perform permission verification. Then, other controllers inherit it