Skip to content

Commit

Permalink
smarty_modifier_script_escape が複雑になったため、高負荷がかかるのを抑制
Browse files Browse the repository at this point in the history
`$tpl_javascript` はエスケープ不要なので `nofilter` を付与
  • Loading branch information
nanasess committed Aug 2, 2023
1 parent 47055de commit e8f5537
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion data/Smarty/templates/default/site_frame.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
<script src="<!--{$smarty.const.ROOT_URLPATH}-->js/eccube.js"></script>

<script type="text/javascript">//<![CDATA[
<!--{$tpl_javascript}-->
<!--{$tpl_javascript nofilter}-->
$(function(){
<!--{$tpl_onload}-->
});
Expand Down
2 changes: 1 addition & 1 deletion data/Smarty/templates/sphone/site_frame.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
<link rel="apple-touch-icon" href="<!--{$TPL_URLPATH}-->img/common/apple-touch-icon.png" />
<script type="text/javascript">//<![CDATA[
<!--{$tpl_javascript}-->
<!--{$tpl_javascript nofilter}-->
$(function(){
<!--{$tpl_onload}-->
});
Expand Down

0 comments on commit e8f5537

Please sign in to comment.