Ticket #1841 (closed 改善提案: 修正済)
コーディング規約への準拠(PHPコードの終了タグ)
Reported by: | shutta | Owned by: | shutta |
---|---|---|---|
Priority: | 低 | Milestone: | EC-CUBE2.12.1 |
Component: | その他 | Version: | 2.12.0 |
Keywords: | Cc: | ||
修正済み: | yes |
Description
開発コミュニティより
【EC-CUBE 2.12】提供ファイルの(細かいですが・・・)誤りにつきまして
http://xoops.ec-cube.net/modules/newbb/viewtopic.php?topic_id=10670&forum=1
PHPコードの終了タグ(?>)の扱いが統一されていないとの報告。
Change History
comment:1 follow-up: ↓ 2 Changed 12 years ago by shutta
- Owner changed from somebody to shutta
- 修正済み set
- Status changed from new to assigned
comment:2 in reply to: ↑ 1 Changed 12 years ago by Seasoft
mtb_constants_init.php は自動生成されるキャッシュファイル mtb_constants.php から保守しているので、mtb_constants.php の生成元も直しておく必要がある予感が。
comment:3 follow-up: ↓ 4 Changed 12 years ago by shutta
私の理解が間違っているかもしれませんが、
/data/cache/mtb_constants.php は、存在していなければ、 /data/mtb_constants_init.php からコピーされて生成され、
マスターデータ管理でDBの更新と同時に /data/cache/mtb_constants.php も更新される挙動だと理解しています。
なので、 /data/cache/mtb_constants.php の生成元 = /data/mtb_constants_init.php なので問題ないような気がしますが、如何でしょうか?
Note: See
TracTickets for help on using
tickets.
r21420(#1613)あたりで、コーディング規約への準拠を高めるために終了タグの除去がなされていたが、一部漏れているファイルがあった。
漏れていた分を対応してコミット。(r21881)