vlibTemplate

vLib Logo

6.23. setPath()

Function Description
 setPath(string filepath[, string filepath...])

This function will give vlibTemplate a list of path to be used when trying to access a template file or a file include using <tmpl_include>.
You give it one argument for each path you want to set and it is set on a per file basis.

Example

  $tmpl->setPath('../templates', '/usr/local/apache/cgi-bin/mytemplates');