Ticket #1763 (closed 改善提案: 修正済)

Opened 11 years ago

Last modified 11 years ago

Smartyのコンパイル実行を制御

Reported by: h_yoshimoto Owned by: h_yoshimoto
Priority: Milestone: EC-CUBE2.12.0
Component: その他 Version: 2.12.0 β
Keywords: Cc:
修正済み: yes

Description

Smartyのコンパイル実行を必須化するモードが欲しい。

プラグイン開発時に毎回コンパイルファイルを修正して
テンプレートを修正する必要がある

Smartyのforce_compileフラグを切り替える事で
コンパイル実行を必須化出来る。

Change History

comment:1 Changed 11 years ago by h_yoshimoto

  • Status changed from new to assigned
  • 修正済み set

r21761 にて対応しました。
DEBUG_MODEでの切り替えも検討しましたが、処理が重くなるので一旦別のフラグで制御してます。

参考

コンパイルなし(プラグイン4つ)
処理時間: 0.008秒

コンパイルあり(プラグイン4つ)
処理時間: 0.049秒

comment:2 Changed 11 years ago by kajiwara

  • Status changed from assigned to closed
  • Resolution set to 修正済
Note: See TracTickets for help on using tickets.