Yii framework - what is the file “.yii” in some folders
-
21-09-2019 - |
Question
There is ".yii" file in the following folders:
- /assets/
- /images/
- /protected/commands/shell/
- /protected/extensions/
- /protected/messages/
- /protected/runtime/
- /protected/views/system/
- /themes/classic/views/layouts/
- /themes/classic/views/site/
- /themes/classic/views/system/
What is it?
Solution
I believe they are generated by yiic, not sure what purpose they have though as they always appear to be empty unless they are purely used as a means of storing a timestamp against the build date.
OTHER TIPS
i assumed it was some kind of placeholder to stop mercurial/git from ignoring the directory
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow