The system structure. There are two modules: default and admin, which have also been integrated with smarty. But there are two problems: 1. When the access address is XXX. comindex, XXX. comadmin, the page is displayed normally, and the accessible address is XXX. comdefault...
The system structure. There are two modules: default and admin, which have also been integrated with smarty. However, there are two problems:
1. The access address is ingress.
2. how to generate the url on this page, just like thinkphp also has a U method to generate the url. The url generation method on the zendframework template is not found. I hope you can answer my questions, thank you.
Reply content:
The system structure. There are two modules: default and admin, which have also been integrated with smarty. However, there are two problems:
1. The access address is ingress.
2. how to generate the url on this page, just like thinkphp also has a U method to generate the url. The url generation method on the zendframework template is not found. I hope you can answer my questions, thank you.
You should directly look at the original page code to see what baseUrl outputs.
If the baseUrl is a complete url, there is no problem, but if there is a problem, then the baseUrl may be a relative path, you need to add/in front /.
That is, src = "/<$ baseUrl>/js/nav. js? 6.1.3"