How to use hook to set routing in php and CI framework?

WBOY
Release: 2016-08-30 09:36:41
Original
1063 people have browsed it

Please tell me how to use hooks to set routes in CI. During the project process, some URLs need to be taken out from the database instead of being predefined in routes.php. Can I use the pre_system mount point before routing? Just configured? But the pre_system mount point seems not to be able to use super objects!

Reply content:

Please tell me how to use hooks to set routes in CI. During the project process, some URLs need to be taken out from the database instead of being predefined in routes.php. Can I use the pre_system mount point before routing? Just configured? But the pre_system mount point seems not to be able to use super objects!

Related labels:
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 Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!