Get Smarty


Smarty Icon

You may use the Smarty logo according to the trademark notice.

Smarty Template Engine Smarty Template Engine

For sponsorship, advertising, news or other inquiries, contact us at:

Sites Using Smarty

Buy cheap glasses from and save up to 80%.

Where to buy prescription glasses? is your best choice!

Where to buy discount wedding dresses and cheap smart dresses free shipping -

Shop for 2018 World Cup Football Boots Online sale at

Browse best 2018 world cup soccer cleats and shoes from



设置开启调试信息的方式。 设置成NONE则不开启调试信息。 URL值意味着当URL参数中有SMARTY_DEBUG关键字则开启调试信息。 如果开启了 $debugging,则本设置将忽略。

Example 13.3. 在localhost上的$debugging_ctrl

// 只在localhost的地址上面显示调试控制台
// 地址:http://localhost/script.php?foo=bar&SMARTY_DEBUG
$smarty->debugging = false; // 默认
$smarty->debugging_ctrl = ($_SERVER['SERVER_NAME'] == 'localhost') ? 'URL' : 'NONE';

参见 调试控制台$debugging$smarty_debug_id.

No comments for this page.
Post a Comment
All comments are moderated. Support questions are ignored, use the forums instead.
Email: (not shown)
What is 10 plus 8? (Are you human?)