Home>

problem:

Included in the template../public requires direct output,But ../public will be directly replaced with the current public template directory,The final output is:/project directory/tpl/default/public /

Solution:

Add template constant settings in the configuration file config.php:

"tmpl_parse_string" =>array (
 "../public" =>"../public",) //The string to be automatically replaced by the template engine,Must be an array.

Here ../public is set to output as it is.

php
  • Previous Java method to determine the number of days difference between two dates
  • Next Introduction to C # Programming Self-study