©
Ce document utilise Manuel du site Web PHP chinois Libérer
Templates outside of the $template_dir require the file: template resource type, followed by the absolute path and name of the template.
Example 15-7. using templates from any directory
|
If you are using a Windows machine, filepaths usually include a drive letter (C:) at the beginning of the pathname. Be sure to use "file:" in the path to avoid namespace conflicts and get the desired results.
Example 15-8. using templates from windows file paths
|