Static resource path usage
車*不息
車*不息 2017-08-17 18:28:15
0
1
1111

Teacher, if the static resources are separated in the framework, how to set the path? Can the path constant be used directly in the template? I tried creating a static folder and then defining a STATIC constant, but when using it in the template STATIC constant path has no effect....

車*不息
車*不息

学习!

reply all(1)
Ty80

Template constants are implemented through string replacement. You can use str_replace to make a replacement before outputting to the browser.

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!