?
本文檔使用 PHP中文網手冊 發(fā)布
$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}.
信任目錄變量僅用在$security啟動之后.這是一個所有建立信任的目錄數組變量.你可以將php腳本放到這些信任目錄中,這些腳本會直接在模板里以{include_php}標記得到執(zhí)行.