Smarty Manual
This manual is provided as a courtesy. It is not an official source. Please check smarty.php.net for updated information.
$trusted_dir is only for use when $security is enabled. This is an array of all directories that are considered trusted. Trusted directories are where you keep php scripts that are executed directly from the templates with {include_php}.