©
이 문서에서는PHP 중국어 웹사이트 매뉴얼풀어 주다
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
|