Home  >  Article  >  Backend Development  >  How to use hook to set routing in php and CI framework?

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

WBOY
WBOYOriginal
2016-08-30 09:36:411083browse

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!

Statement:
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