smartyのdefault_modifiersを指定していた場合debug.tplがエラーになる。

smartyのdefault_modifiersを指定していた場合debug.tplがエラーになる。


smarty2.6.19のdebug.tplを以下のように修正する(|smarty:nodefaultsを追加する)とsmartyのdebug表示が一応できるようになる。


103行目

    {if isset($_debug_tpls[templates].exec_time|smarty:nodefaults)}

141行目

{if isset($_smarty_debug_output|smarty:nodefaults) and $_smarty_debug_output eq "html"}

153行目

    _smarty_console.document.write('{$debug_output|smarty:nodefaults|escape:'javascript'}');