Ticket #1257 (new バグ指摘) — at Initial Version
絶対パスかどうかのチェックが Windows 環境を考慮していない
| Reported by: | nanasess | Owned by: | somebody |
|---|---|---|---|
| Priority: | 中 | Milestone: | EC-CUBE2.11.1 |
| Component: | その他 | Version: | 2.11.0 |
| Keywords: | Cc: | ||
| 修正済み: | yes |
Description
以下のような構文で絶対パスかどうかをチェックしているが, Windows 環境ではドライブレターが渡ってくるため動作しない
if (substr($path, 0, 1) == '/') {
以下で使用しているのを確認
- LC_Page.php
- LC_Page_Frontparts_Bloc.php
- LC_Page_Admin_Design_Bloc.php
これにより r20830 でデグレードが発生
Note: See
TracTickets for help on using
tickets.
