?
This document uses PHP Chinese website manual Release
$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}.
信任目錄變量?jī)H用在$security啟動(dòng)之后.這是一個(gè)所有建立信任的目錄數(shù)組變量.你可以將php腳本放到這些信任目錄中,這些腳本會(huì)直接在模板里以{include_php}標(biāo)記得到執(zhí)行.