パッケージ版をgit管理した際に、特定のディレクトリが管理対象外になる
- Dominant language
- PHP
- Stars
- 788
- Forks
- 719
- Avg merge
- 4d 4h
- Merged PRs (30d)
- 39
Description
## 概要(Overview)
パッケージ版をgit管理して、git clone から環境を構築すると、フロントページのスマホ表示でエラーになる。
src/Eccube/Resource/template/smartphone が空のディレクトリのため、Git管理対象外となる。
## 期待する内容(Expect) or 要望 (Requirement)
パッケージ版でも対象のディレクトリ直下に .gitkeep ファイルを作成することで、上記ディレクトリをGit管理対象とする。
## 再現手順(Procedure)
・パッケージ版をダウンロード
・パッケージ版を展開し、git管理する
・そこからgit cloneすると、smartphoneディレクトリが消失する
・フロントページをスマホで表示するとエラーになる。
【エラーメッセージ】
The "/Applications/MAMP/htdocs/test/src/Eccube/Resource/template/smartphone" directory does not exist ("/Applications/MAMP/htdocs/test/src/Eccube/Resource/template/smartphone").
なお、src/Eccube/Resource/template/smartphone を手動で作成するとエラーは解消する。
### 環境 (environment)
+ EC-CUBE: 4.0.2
## 関連情報 (Ref)
開発コミュニティ
https://xoops.ec-cube.net/modules/newbb/viewtopic.php?topic_id=21922&forum=11&post_id=91920
Contributor guide
Assessment
This issue has not been assessed yet.