Fix regression after #335: Gii module generator not creates empty subfolders
Merge pull request #3327 from intersvyaz/gii-patch-1

Fix regression after #335