<table cellspacing="0" cellpadding="0" border="0" width="100%" summary="Header navigation table"><tbody><tr><th align="center" colspan="3">Smarty - the compiling PHPtemplate engine</th> </tr><tr><td valign="bottom" align="left" width="25%"><a accesskey="P" href="api.createtemplate.html">Prev</a></td> <td valign="bottom" align="center" width="50%">Chapter 13. Smarty Class Methods()</td> <td valign="bottom" align="right" width="25%"><a accesskey="N" href="api.display.html">Next</a></td> </tr></tbody></table> # disableSecurity()[关闭安全] Name disableSecurity() ― disables template security 关闭模板安全检测 Description string disableSecurity(); This disables securty checking on templates. 关闭模板的安全检测。 参见[enableSecurity()](#)和[安全策略](#)一节。 |   | |-----| <table cellspacing="0" cellpadding="0" border="0" width="100%" summary="Footer navigation table"><tbody><tr><td valign="top" align="left" width="33%"><a accesskey="P" href="api.createtemplate.html">Prev</a></td> <td valign="top" align="center" width="34%"><a accesskey="H" href="index.html">Home</a></td> <td valign="top" align="right" width="33%"><a accesskey="N" href="api.display.html">Next</a></td> </tr><tr><td valign="top" align="left" width="33%">createTemplate()<br/> 建立模板</td> <td valign="top" align="center" width="34%"><a accesskey="U" href="api.functions.html">Up</a></td> <td valign="top" align="right" width="33%">display()<br/> 显示</td> </tr></tbody></table>