I didn't know that, as i found in the sourcecode :
// set default dirs
$this->template_dir = '.' . DIRECTORY_SEPARATOR .
'templates' . DIRECTORY_SEPARATOR;
$this->compile_dir = '.' . DIRECTORY_SEPARATOR .
'templates_c' . DIRECTORY_SEPARATOR;
$this->plugins_dir = array(dirname(__FILE__) .
DIRECTORY_SEPARATOR . 'plugins' . DIRECTORY_SEPARATOR);
I thought only plugins could be an array...
Thanks for the tip, but i have questions :
- are they like plugins, look up in each folders in the same order
then stop when the first file with the name is found ?
- is it possible to call relatively another file into {include }
function ?
Thanks for all.
Yann